1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-24 05:23:51 +00:00
openmw-tes3mp/files/shadows/depthshadowcaster.material

74 lines
1.3 KiB
Text
Raw Normal View History

2012-04-11 16:53:13 +00:00
vertex_program depth_shadow_caster_vs cg
{
2012-05-13 10:17:07 +00:00
source depthshadowcaster.cg
profiles vs_1_1 arbvp1
entry_point main_vp
2012-04-11 16:53:13 +00:00
2012-05-13 10:17:07 +00:00
default_params
{
param_named_auto wvpMat worldviewproj_matrix
}
2012-04-11 16:53:13 +00:00
}
fragment_program depth_shadow_caster_ps cg
{
2012-05-13 10:17:07 +00:00
source depthshadowcaster.cg
profiles ps_2_0 arbfp1
entry_point main_fp
2012-04-11 16:53:13 +00:00
2012-05-13 10:17:07 +00:00
default_params
{
}
2012-04-11 16:53:13 +00:00
}
fragment_program depth_shadow_caster_ps_noalpha cg
{
2012-05-13 10:17:07 +00:00
source depthshadowcaster.cg
profiles ps_2_0 arbfp1
entry_point main_fp_noalpha
2012-04-11 16:53:13 +00:00
2012-05-13 10:17:07 +00:00
default_params
{
}
2012-04-11 16:53:13 +00:00
}
material depth_shadow_caster
{
2012-05-13 10:17:07 +00:00
technique
{
pass
{
// force-disable fog (relevant for DirectX profiles below SM3 that always apply fixed function fog)
fog_override true
2012-04-11 16:53:13 +00:00
2012-05-13 10:17:07 +00:00
vertex_program_ref depth_shadow_caster_vs
{
}
fragment_program_ref depth_shadow_caster_ps
{
}
}
}
2012-04-11 16:53:13 +00:00
}
material depth_shadow_caster_noalpha
{
2012-05-13 10:17:07 +00:00
technique
{
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
{
}
2012-04-11 16:53:13 +00:00
2012-05-13 10:17:07 +00:00
fragment_program_ref depth_shadow_caster_ps_noalpha
{
}
}
}
2012-04-11 16:53:13 +00:00
}