mojira.dev
MC-249414

The "Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program." warning is logged in the game output console when launching the game

The Bug:

The "Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program." warning is logged in the game output console when launching the game.

This issue was not present in 1.18.2 or 22w11a.

The following message was printed into the game output console shortly after launching the game in 22w12a.

Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.

Steps to Reproduce:

  1. Launch an instance of 22w12a with logs enabled.

  2. Watch the game output console closely.

  3. Take note as to whether or not the "Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program." warning is logged in the game output console when launching the game.

Observed Behavior:

A warning is logged.

Expected Behavior:

No warning would be logged.

Linked issues

Attachments

Comments

migrated

Yeah I know, I had that happen too. I think Mojang should fix it in the next snapshot.

migrated

Can confirm this is an issue still in 1.19.2

migrated

Can confirm. I discovered this when I was developing a mod and wanted to check for a mistake in my custom models.

ouroya

this issue is caused by the special rendering of Drowned's emissive parts

KirbAvion

Confirmed in 1.20 release candidate 1.

migrated

Can confirm in 1.20.3.

CreeperMagnet_

Can confirm in 1.20.4.

migrated

Still a issue in April, Mojang should fix this

NickyB1106

Can confirm in 1.21.

TheBoy358

This bug occur in 24w33a and got fixed in 24w34a, guess it's thanks to the fix of MC-275296

BugTracker

Also can confirm that this has been fixed in 24w34a:

[media][media]

Avoma

(Unassigned)

Confirmed

Platform

Normal

Rendering

22w12a, 22w13a, 22w14a, 22w15a, 22w16a, ..., 1.20.4, 24w09a, 24w10a, 1.21, 1.21.1

24w34a

Retrieved