Wrong glViewPort in shadowmapping when using with latest DH
GeForceLegend opened this issue ยท 1 comments
What happened?
Also see GeForceLegend/SEUS_PTGI_GFME#72
If DH shadow is enabled with provided environment (latest Iris and DH in 1.21.1), before rendering DH shadow, glViewPort will be set to screen size, causing shadow program write to a screen sized part in the lower left part of shadowmapping, causing completely wrong shadow.
We can see there is an extra glViewPort which set viewport to screen size after setting it to shadowmapping size.
Screenshots
No response
Log output
No response
Minecraft Version
1.21.1
Iris Version
iris-fabric-1.8.8+mc1.21.1.jar
Operating System
Windows10
What is your GPU?
RTX 4070
Additional context
No response



