mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Render 2D with depth, reverse depth of camera projection
dirty fix in Renderer...
This commit is contained in:
@@ -308,7 +308,7 @@ namespace GlitchyEngine.World
|
||||
private void UpdateProjection() mut
|
||||
{
|
||||
//_projection = Matrix.InfinitePerspectiveProjection(_fovY, _aspectRatio, _nearPlane);
|
||||
_projection = Matrix.PerspectiveProjection(_fovY, _aspectRatio, _nearPlane, 10000);
|
||||
_projection = Matrix.ReversedPerspectiveProjection(_fovY, _aspectRatio, _nearPlane, 10000);
|
||||
}
|
||||
|
||||
public void OnViewportResize(uint32 sizeX, uint32 sizeY) mut
|
||||
|
||||
Reference in New Issue
Block a user