Skip to content

Lighting becomes "blocky" under certain conditions #19

@braboware

Description

@braboware

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingengine bugA bug that is a result of the engine, that we can't do much about on a project levelhelp wantedExtra attention is neededwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions