mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
74 lines
1.3 KiB
Plaintext
74 lines
1.3 KiB
Plaintext
vertex_program depth_shadow_caster_vs cg
|
|
{
|
|
source depthshadowcaster.cg
|
|
profiles vs_1_1 arbvp1
|
|
entry_point main_vp
|
|
|
|
default_params
|
|
{
|
|
param_named_auto wvpMat worldviewproj_matrix
|
|
}
|
|
}
|
|
|
|
fragment_program depth_shadow_caster_ps cg
|
|
{
|
|
source depthshadowcaster.cg
|
|
profiles ps_2_0 arbfp1
|
|
entry_point main_fp
|
|
|
|
default_params
|
|
{
|
|
}
|
|
}
|
|
|
|
fragment_program depth_shadow_caster_ps_noalpha cg
|
|
{
|
|
source depthshadowcaster.cg
|
|
profiles ps_2_0 arbfp1
|
|
entry_point main_fp_noalpha
|
|
|
|
default_params
|
|
{
|
|
}
|
|
}
|
|
|
|
material depth_shadow_caster
|
|
{
|
|
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
|
|
{
|
|
}
|
|
|
|
fragment_program_ref depth_shadow_caster_ps
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
material depth_shadow_caster_noalpha
|
|
{
|
|
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
|
|
{
|
|
}
|
|
|
|
fragment_program_ref depth_shadow_caster_ps_noalpha
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|