Draw terrain before grass, because terrain is pretty cheap to draw, and hills are a thing and it would be nice if they z-culled.

This commit is contained in:
Shyotl
2018-11-19 00:45:26 -06:00
parent bb67cba384
commit 6d0b1889f2

View File

@@ -46,12 +46,12 @@ public:
enum enum
{ {
// Correspond to LLPipeline render type // Correspond to LLPipeline render type
POOL_SIMPLE = 1, POOL_GROUND = 1,
POOL_GROUND, POOL_TERRAIN,
POOL_SIMPLE,
POOL_FULLBRIGHT, POOL_FULLBRIGHT,
POOL_BUMP, POOL_BUMP,
POOL_MATERIALS, POOL_MATERIALS,
POOL_TERRAIN,
POOL_TREE, // Singu Note: Before sky for zcull. POOL_TREE, // Singu Note: Before sky for zcull.
POOL_ALPHA_MASK, POOL_ALPHA_MASK,
POOL_FULLBRIGHT_ALPHA_MASK, POOL_FULLBRIGHT_ALPHA_MASK,