1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-29 16:36:43 +00:00

fix for a potential directx problem

This commit is contained in:
scrawl 2012-05-13 12:17:07 +02:00
parent 296dbce298
commit a54e52586b

View file

@ -38,6 +38,9 @@ material depth_shadow_caster
{ {
pass pass
{ {
// force-disable fog (relevant for DirectX profiles below SM3 that always apply fixed function fog)
fog_override true
vertex_program_ref depth_shadow_caster_vs vertex_program_ref depth_shadow_caster_vs
{ {
} }
@ -55,6 +58,9 @@ material depth_shadow_caster_noalpha
{ {
pass pass
{ {
// force-disable fog (relevant for DirectX profiles below SM3 that always apply fixed function fog)
fog_override true
vertex_program_ref depth_shadow_caster_vs vertex_program_ref depth_shadow_caster_vs
{ {
} }