Skip to content

Commit 7b01319

Browse files
committed
Comment out DrawSkyBox() to prevent overdraw
This commit modifies the OpenGLContext.cs file by commenting out the call to `DrawSkyBox()`. This change is likely aimed at addressing overdraw issues or for debugging purposes, as the skybox is now no longer drawn in the rendering process.
1 parent eadca3c commit 7b01319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎VendorPackage/Graphic/SilkDotNetLibrary/OpenGL/OpenGLContext.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ private unsafe void RenderScene(double dt)
418418
#endregion
419419

420420
// Draw skybox as the last geometry (draw as last to prevent overdraw)
421-
DrawSkyBox();
421+
//DrawSkyBox();
422422

423423
var error = _gl.GetError();
424424
if (error != GLEnum.NoError)

0 commit comments

Comments
 (0)