1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/files/shadows/depthshadowcaster.material

74 lines
1.3 KiB
Plaintext
Raw Normal View History

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