Miniature Shader

Miniature Shader

259k Downloads

translucent blocks rendering overly bright when in lit area whilst in shadow

Closed this issue ยท 1 comments

commented

Describe the bug
when a translucent block is placed behind the wall so that the shadow casted by it obscures the block while the time is set to day or when viewing the block with night vision while in a dark area, it renders as if it was in sunlight .
(possibly related to issue #93?)

To Reproduce
method 1:

  1. place a translucent block
  2. make sure the time is day
  3. cover the block with the dynamic shadows

method 2:

  1. place a translucent block in a dark area (could be a cave or a room without windows installed)
  2. apply night vision effect to yourself

Expected behavior
translucent block rendering with the same shadow as any other block

Screenshots
Image

System Information

  • Minecraft version: 1.21.3 /w iris
  • Shader version: 2.16.1

Additional context
the effect is not related to the reflection

commented

its by design, otherwise I'd have to do two shadow passes