1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 15:39:42 +00:00

Merge remote-tracking branch 'zini/master' into nifogre

This commit is contained in:
Chris Robinson 2013-04-06 00:22:31 -07:00
commit af756bfa9c
2 changed files with 3 additions and 0 deletions

View file

@ -855,6 +855,7 @@ static Ogre::String getMaterial(const Nif::ShapeData *shapedata,
{
alphaFlags = (1<<9) | (6<<10); /* alpha_rejection enabled, greater_equal */
alphaTest = result.second;
depthFlags = (1<<0) | (1<<1); // depth_write on, depth_check on
}
if((alphaFlags&1))

View file

@ -14,6 +14,7 @@ material openmw_objects_base
is_transparent false // real transparency, alpha rejection doesn't count here
scene_blend default
depth_write default
depth_check default
alpha_rejection default
transparent_sorting default
@ -38,6 +39,7 @@ material openmw_objects_base
scene_blend $scene_blend
alpha_rejection $alpha_rejection
depth_write $depth_write
depth_check $depth_check
transparent_sorting $transparent_sorting
texture_unit diffuseMap