Disable anti-aliasing of sky

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2620 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2009-08-16 20:56:41 +00:00
parent 4ab18181fd
commit be8a1ff7b6
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ CSkyBoxSceneNode::CSkyBoxSceneNode(video::ITexture* top, video::ITexture* bottom
mat.Lighting = false;
mat.ZBuffer = video::ECFN_NEVER;
mat.ZWriteEnable = false;
mat.AntiAliasing=0;
mat.TextureLayer[0].TextureWrap = video::ETC_CLAMP;
/* Hey, I am no artist, but look at that

View File

@ -48,6 +48,7 @@ CSkyDomeSceneNode::CSkyDomeSceneNode(video::ITexture* sky, u32 horiRes, u32 vert
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);
Buffer->BoundingBox.MaxEdge.set(0,0,0);
Buffer->BoundingBox.MinEdge.set(0,0,0);