Fixed camera Z-culling planes
This fixes artifacts in the sky rasterization
This commit is contained in:
parent
cd7eb2f669
commit
c6272846ea
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue