mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-15 15:30:56 -04:00
fix for a potential directx problem
This commit is contained in:
parent
296dbce298
commit
a54e52586b
@ -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
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user