mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Sky Sorting
-Change: ScatterSky is always drawn behind other sky objects (since it has sun and moon)
This commit is contained in:
parent
bbf92846c2
commit
382ee60d86
3 changed files with 4 additions and 4 deletions
|
|
@ -182,7 +182,7 @@ void SkySphere::prepRenderImage(SceneRenderState* state)
|
|||
ObjectRenderInst* ri = state->getRenderPass()->allocInst<ObjectRenderInst>();
|
||||
ri->renderDelegate.bind(this, &SkySphere::_renderObject);
|
||||
ri->type = RenderPassManager::RIT_Sky;
|
||||
ri->defaultKey = 10;
|
||||
ri->defaultKey = 9;
|
||||
ri->defaultKey2 = 0;
|
||||
state->getRenderPass()->addInst(ri);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue