irr: skies respect Z so they can be drawn after
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
448a7d02bd
commit
98e9c8d43d
@ -4,3 +4,4 @@ The following changes have been made:
|
||||
- stencil RTT support
|
||||
- drawall types
|
||||
- materialtype override
|
||||
- skies respect Z
|
||||
|
@ -38,7 +38,6 @@ CSkyBoxSceneNode::CSkyBoxSceneNode(video::ITexture* top, video::ITexture* bottom
|
||||
|
||||
video::SMaterial mat;
|
||||
mat.Lighting = false;
|
||||
mat.ZBuffer = video::ECFN_NEVER;
|
||||
mat.ZWriteEnable = false;
|
||||
mat.AntiAliasing=0;
|
||||
mat.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
|
||||
|
@ -46,7 +46,6 @@ CSkyDomeSceneNode::CSkyDomeSceneNode(video::ITexture* sky, u32 horiRes, u32 vert
|
||||
|
||||
Buffer = new SMeshBuffer();
|
||||
Buffer->Material.Lighting = false;
|
||||
Buffer->Material.ZBuffer = video::ECFN_NEVER;
|
||||
Buffer->Material.ZWriteEnable = false;
|
||||
Buffer->Material.AntiAliasing = video::EAAM_OFF;
|
||||
Buffer->Material.setTexture(0, sky);
|
||||
|
Loading…
x
Reference in New Issue
Block a user