You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a problem with the vertices of triangles clipped within the viewport when using Phong lighting. This issue persists both in barycentric rendering mode and scanline mode.
The problem does not seem to originate from normal interpolation during clipping. In the raylib_FirstPerson example, normals consistently point towards either 1 or -1 along a single axis. Even when printing them to the console or displaying them on screen with color, everything appears normal.
I also do not see any issues with position interpolation.
This problem mostly manifests when triangles are clipped according to the viewport.
Screenshots of the issue:
Image rendering normals with color at locations where triangles are clipped, showing no apparent issues:
The text was updated successfully, but these errors were encountered:
There appears to be a problem with the vertices of triangles clipped within the viewport when using Phong lighting. This issue persists both in barycentric rendering mode and scanline mode.
The problem does not seem to originate from normal interpolation during clipping. In the
raylib_FirstPerson
example, normals consistently point towards either 1 or -1 along a single axis. Even when printing them to the console or displaying them on screen with color, everything appears normal.I also do not see any issues with position interpolation.
This problem mostly manifests when triangles are clipped according to the viewport.
Screenshots of the issue:
Image rendering normals with color at locations where triangles are clipped, showing no apparent issues:
The text was updated successfully, but these errors were encountered: