mojira.dev
MCPE-174191

Blocks with texture variations will ignore PBR texture sets when using deferred lighting

When using the deferred lighting rendering pipeline, PBR texture sets cannot be used in conjunction with block texture variations. In practice, this issue means that deferred lighting enabled resource packs cannot use block texture variations.

Steps to reproduce:

  • In a deferred lighting-enabled texture pack, or apply the provided "Variations Enabled" example pack, where cobblestone has been modified to include a texture set and texture variation.

  • Place cobblestone blocks in a deferred lighting-enabled world, and observe that the PBR materials assigned by the texture set will be ignored

  • To confirm that texture variation is the cause, apply the provided "Variations Disabled" example pack (which is the same as the "Variations Enabled" pack, except for the texture variation code being removed)

  • Observe that cobblestone PBR textures work correctly now that texture variations have been disabled

Observed behavior: when a resource pack has block texture variations defined in terrain_texture.json, PBR texture sets for that block will be ignored for by the game when using the deferred rendering pipeline. 

Expected behavior: assigning a PBR texture set to a texture variant should apply the material properties as it would to any other texture. PBR texture sets are defined per texture, not per block, and thus there is no clear reason why they should be incompatible with texture variations.

Attachments

Comments 8

[media][media][media][media]

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is it still an issue in latest version? Using provided packs and information we cannot reproduce it on our side.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues) – 📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is it still an issue in latest version? Using provided packs and information we cannot reproduce it on our side.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues) – 📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

I have confirmed that the bug still exists in 1.20.80.22. 
 
To clarify how the provided pack works: with the "variations enabled" texture pack, if the dirt block textures appear flat without any reflections, that means it's ignoring the PBR textures which would otherwise make it appear shiny.

This seems to be fixed as of 1.21.30.21, can you verify that?

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

The issue hasn't been fixed - it is still present as of 1.21.30.21. The reason it appeared to work is that the dirt block ID was changed in a recent beta, which broke the code assigning a texture variation to it. I have updated the example files to instead use cobblestone as the example block.

Your Variations Disabled resource pack's manifest.json was identical to that of the Variations Enabled resource pack, so I have fixed that for you.

does the problem still here in mcpe beta 1.21.90?

SCT Studios

(Unassigned)

1293593

Confirmed

Multiple

deferred-technical-preview

1.20.30.21 Preview, 1.20.30.20 Preview, 1.21.40.25 Preview, 1.21.40.21 Preview, 1.21.40.20 Preview, ..., 1.21.0.20 Preview, 1.20.70.25 Preview, 1.20.80.22 Preview, 1.21.30.21 Preview, 1.21.40.23 Preview

1.21.50.24 Preview

Retrieved