Fixed camera Z-culling planes

This fixes artifacts in the sky rasterization
This commit is contained in:
Michaël Lemaire 2015-09-13 20:08:14 +02:00
parent cd7eb2f669
commit c6272846ea

View file

@ -19,8 +19,8 @@ CameraDefinition::CameraDefinition(DefinitionNode *parent):
height = 1.0; height = 1.0;
perspective.yfov = 1.0; perspective.yfov = 1.0;
perspective.xratio = 1.0; perspective.xratio = 1.0;
perspective.znear = 1.0; perspective.znear = 0.5;
perspective.zfar = 1000.0; perspective.zfar = 20000.0;
validate(); validate();
} }