diff --git a/Texture3D/Texture3DGame.cs b/Texture3D/Texture3DGame.cs index 9a5f2d4..bd57e92 100644 --- a/Texture3D/Texture3DGame.cs +++ b/Texture3D/Texture3DGame.cs @@ -120,7 +120,7 @@ namespace MoonWorks.Test protected override void Draw(double alpha) { - FragUniform fragUniform = new FragUniform((float) currentDepth / texture.Depth); + FragUniform fragUniform = new FragUniform((float)currentDepth / texture.Depth + 0.01f); CommandBuffer cmdbuf = GraphicsDevice.AcquireCommandBuffer(); Texture? backbuffer = cmdbuf.AcquireSwapchainTexture(MainWindow);