-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent regression in TPS demo #48840
Comments
:16 - Varying must only be used in two different stages, which can be 'vertex' 'fragment' and 'light' Seems like an error related to the new varying system... |
It's because I guess removing |
Ah fantastic, so a bit of a wild goose chase, down to exposing an error in the shader. But is good to have it fixed in the demo. 😄 👍 |
This does seem like a regression in 3.x, caused by that unnecessary check added in the fragment-to-light varying code. My opinion is that the " |
This check is originally suggested by @reduz so I've implemented it, but for 3.x this could be disabled to preserve the compatibility, I agreed. |
Godot version:
Latest 3.x 365ab88
Worked in 3.3 stable
Works in 3.3.1 (so maybe not cherry picked)
Bisected to @lyuma commits on May 14th 2021.
OS/device including version:
Linux Mint 20, Intel HD Graphics 630
Issue description:
Open scene red_robot.tscn from TPS demo. Laser was showing when it should be hidden.
Broken (shows laser)
Working (laser not showing)
Just bisecting now, I thought it was due to BVH, but it seems to work after @pouleyKetchoupp 's May 4th PR so I'm not yet sure what is causing it.
The text was updated successfully, but these errors were encountered: