mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:23:53 +00:00
Make masks consecutive and ordered.
This commit is contained in:
parent
6f582f5411
commit
cfad38b869
1 changed files with 9 additions and 9 deletions
|
@ -33,26 +33,26 @@ namespace MWRender
|
||||||
Mask_SimpleWater = (1<<7),
|
Mask_SimpleWater = (1<<7),
|
||||||
Mask_Terrain = (1<<8),
|
Mask_Terrain = (1<<8),
|
||||||
Mask_FirstPerson = (1<<9),
|
Mask_FirstPerson = (1<<9),
|
||||||
Mask_Object = (1<<18), // TODO: get Scrawl or Zini to decide if we want this to be (1<<10) and to shift all of the other masks by one.
|
Mask_Object = (1<<10),
|
||||||
|
|
||||||
// child of Sky
|
// child of Sky
|
||||||
Mask_Sun = (1<<10),
|
Mask_Sun = (1<<11),
|
||||||
Mask_WeatherParticles = (1<<11),
|
Mask_WeatherParticles = (1<<12),
|
||||||
|
|
||||||
// top level masks
|
// top level masks
|
||||||
Mask_Scene = (1<<12),
|
Mask_Scene = (1<<13),
|
||||||
Mask_GUI = (1<<13),
|
Mask_GUI = (1<<14),
|
||||||
|
|
||||||
// Set on a ParticleSystem Drawable
|
// Set on a ParticleSystem Drawable
|
||||||
Mask_ParticleSystem = (1<<14),
|
Mask_ParticleSystem = (1<<15),
|
||||||
|
|
||||||
// Set on cameras within the main scene graph
|
// Set on cameras within the main scene graph
|
||||||
Mask_RenderToTexture = (1<<15),
|
Mask_RenderToTexture = (1<<16),
|
||||||
|
|
||||||
Mask_PreCompile = (1<<16),
|
Mask_PreCompile = (1<<17),
|
||||||
|
|
||||||
// Set on a camera's cull mask to enable the LightManager
|
// Set on a camera's cull mask to enable the LightManager
|
||||||
Mask_Lighting = (1<<17)
|
Mask_Lighting = (1<<18)
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue