mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 17:06:43 +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
|
@ -1,67 +1,73 @@
|
||||||
vertex_program depth_shadow_caster_vs cg
|
vertex_program depth_shadow_caster_vs cg
|
||||||
{
|
{
|
||||||
source depthshadowcaster.cg
|
source depthshadowcaster.cg
|
||||||
profiles vs_1_1 arbvp1
|
profiles vs_1_1 arbvp1
|
||||||
entry_point main_vp
|
entry_point main_vp
|
||||||
|
|
||||||
default_params
|
default_params
|
||||||
{
|
{
|
||||||
param_named_auto wvpMat worldviewproj_matrix
|
param_named_auto wvpMat worldviewproj_matrix
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment_program depth_shadow_caster_ps cg
|
fragment_program depth_shadow_caster_ps cg
|
||||||
{
|
{
|
||||||
source depthshadowcaster.cg
|
source depthshadowcaster.cg
|
||||||
profiles ps_2_0 arbfp1
|
profiles ps_2_0 arbfp1
|
||||||
entry_point main_fp
|
entry_point main_fp
|
||||||
|
|
||||||
default_params
|
default_params
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment_program depth_shadow_caster_ps_noalpha cg
|
fragment_program depth_shadow_caster_ps_noalpha cg
|
||||||
{
|
{
|
||||||
source depthshadowcaster.cg
|
source depthshadowcaster.cg
|
||||||
profiles ps_2_0 arbfp1
|
profiles ps_2_0 arbfp1
|
||||||
entry_point main_fp_noalpha
|
entry_point main_fp_noalpha
|
||||||
|
|
||||||
default_params
|
default_params
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
material depth_shadow_caster
|
material depth_shadow_caster
|
||||||
{
|
{
|
||||||
technique
|
technique
|
||||||
{
|
{
|
||||||
pass
|
pass
|
||||||
{
|
{
|
||||||
vertex_program_ref depth_shadow_caster_vs
|
// force-disable fog (relevant for DirectX profiles below SM3 that always apply fixed function fog)
|
||||||
{
|
fog_override true
|
||||||
}
|
|
||||||
|
|
||||||
fragment_program_ref depth_shadow_caster_ps
|
vertex_program_ref depth_shadow_caster_vs
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
fragment_program_ref depth_shadow_caster_ps
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
material depth_shadow_caster_noalpha
|
material depth_shadow_caster_noalpha
|
||||||
{
|
{
|
||||||
technique
|
technique
|
||||||
{
|
{
|
||||||
pass
|
pass
|
||||||
{
|
{
|
||||||
vertex_program_ref depth_shadow_caster_vs
|
// force-disable fog (relevant for DirectX profiles below SM3 that always apply fixed function fog)
|
||||||
{
|
fog_override true
|
||||||
}
|
|
||||||
|
|
||||||
fragment_program_ref depth_shadow_caster_ps_noalpha
|
vertex_program_ref depth_shadow_caster_vs
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
fragment_program_ref depth_shadow_caster_ps_noalpha
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue