Lighting becomes "blocky" under certain conditions #19
Labels
bug
Something isn't working
engine bug
A bug that is a result of the engine, that we can't do much about on a project level
help wanted
Extra attention is needed
wontfix
This will not be worked on
Not entirely sure what causes it but often when the camera gets close to a light source a blocky outline of the light can be seen. It should have something to do with the affine mapping
POSITION /= abs(POSITION.w);
line because I removed the rest of the shader and the blocky effect remains until I comment it out.Interestingly you can also get the effect with the default godot shader if you crank the light's attenuation to some crazy values so maybe that'll give some clues as to what's going on
I have an example project that shows both
godot-psx blocky lighting.zip
The text was updated successfully, but these errors were encountered: