Skip to content

Remove polygonOffset from grate textures#4

Merged
illwieckz merged 1 commit intofor-0.56.0/syncfrom
slipher/polygonoffset
Feb 23, 2026
Merged

Remove polygonOffset from grate textures#4
illwieckz merged 1 commit intofor-0.56.0/syncfrom
slipher/polygonoffset

Conversation

@slipher
Copy link
Copy Markdown
Contributor

@slipher slipher commented Jul 20, 2025

This is not a good use of polygonOffset. It is meant for a surface that overlaps another surface but needs to be drawn above it.

The use of polygonOffset here seems to be a trigger for DaemonEngine/Daemon#1676. It may be related to the fact that polygonOffset disables the depth shader from being generated. No depth shader also has the deleterious effect of making realtime lights unable to affect the surface.

This is not a good use of polygonOffset. It is meant for a surface that overlaps another surface but needs to be drawn above it.

The use of polygonOffset here seems to be a trigger for DaemonEngine/Daemon#1676. It may be related to the fact that polygonOffset disables the depth shader from being generated. No depth shader also has the deleterious effect of making realtime lights unable to affect the surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants