mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-14 03:06:45 +00:00
fix for a potential directx problem
This commit is contained in:
parent
296dbce298
commit
a54e52586b
1 changed files with 49 additions and 43 deletions
|
@ -38,6 +38,9 @@ material depth_shadow_caster
|
|||
{
|
||||
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
|
||||
{
|
||||
}
|
||||
|
@ -55,6 +58,9 @@ material depth_shadow_caster_noalpha
|
|||
{
|
||||
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
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue