When updating any of the following shaders:
core/animate_sprite.vshcore/animate_sprite_blit.fshcore/animate_sprite_interpolate
an issue can be observed whereby the GameTime property, part of the Globals uniform, is set to a constant value of 0 and does not represent the actual value. Iβve attached an example shader that illustrates the issue.
Attachments
Comments 4
We do not have enough information to reproduce this issue.
Please include the following information to help us understand your problem:
Steps to Reproduce:
(Explain what needs to be done for the issue to happen)
Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
Please also attach any needed commands, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.
Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.
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
Steps to Reproduce:
Enable the provided resource pack
Β Place any block
Observed Results:
Observe that every block (or texture rendered by an atlas) becomes green, as the animate_sprite_blit shader in the resource pack is showing green if GameTime == 0
Expected Results:
GameTime should not be 0 and instead should be the correct value, like all other core shaders, and the condition should resolve to false, rendering all blocks correctly.
Bug still exists on 26.2-snapshot-6 when Graphics API is set to OpenGL. When Vulkan is enabled, the resource pack fails to load to begin with due to MC-307387
Thank you for helping us improve Minecraft! We saved your files: