forked from teamnwah/openmw-tes3coop
update
This commit is contained in:
parent
a095572205
commit
e517e75d09
3 changed files with 4 additions and 2 deletions
|
@ -270,7 +270,7 @@ void NIFLoader::createMaterial(const String &name,
|
|||
{
|
||||
// Enable transparency
|
||||
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
|
||||
|
|
2
extern/shiny
vendored
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
|
||||
scene_blend default
|
||||
depth_write default
|
||||
alpha_rejection default
|
||||
|
||||
pass
|
||||
|
@ -34,6 +35,7 @@ material openmw_objects_base
|
|||
emissive $emissive
|
||||
scene_blend $scene_blend
|
||||
alpha_rejection $alpha_rejection
|
||||
depth_write $depth_write
|
||||
|
||||
ffp_vertex_colour_ambient $has_vertex_colour
|
||||
|
||||
|
|
Loading…
Reference in a new issue