pull/21/head
scrawl 13 years ago
parent a095572205
commit e517e75d09

@ -270,7 +270,7 @@ void NIFLoader::createMaterial(const String &name,
{ {
// Enable transparency // Enable transparency
instance->setProperty("scene_blend", sh::makeProperty<sh::StringValue>(new sh::StringValue("alpha_blend"))); instance->setProperty("scene_blend", sh::makeProperty<sh::StringValue>(new sh::StringValue("alpha_blend")));
instance->setProperty("depth_write", sh::makeProperty<sh::BooleanValue>(new sh::BooleanValue(false))); instance->setProperty("depth_write", sh::makeProperty<sh::StringValue>(new sh::StringValue("off")));
} }
} }
else else

2
extern/shiny vendored

@ -1 +1 @@
Subproject commit 1d689a23fa685ab680351219c32953a3bed7ac0c Subproject commit 88a192a67d7dff636be4540be4a8654ad33f106a

@ -12,6 +12,7 @@ material openmw_objects_base
is_transparent false // real transparency, alpha rejection doesn't count here is_transparent false // real transparency, alpha rejection doesn't count here
scene_blend default scene_blend default
depth_write default
alpha_rejection default alpha_rejection default
pass pass
@ -34,6 +35,7 @@ material openmw_objects_base
emissive $emissive emissive $emissive
scene_blend $scene_blend scene_blend $scene_blend
alpha_rejection $alpha_rejection alpha_rejection $alpha_rejection
depth_write $depth_write
ffp_vertex_colour_ambient $has_vertex_colour ffp_vertex_colour_ambient $has_vertex_colour

Loading…
Cancel
Save