This repository has been archived by the owner on Mar 13, 2021. It is now read-only.
forked from zinnschlag/openmw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
scrawl
committed
May 13, 2012
1 parent
296dbce
commit a54e525
Showing
1 changed file
with
49 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,73 @@ | ||
vertex_program depth_shadow_caster_vs cg | ||
{ | ||
source depthshadowcaster.cg | ||
profiles vs_1_1 arbvp1 | ||
entry_point main_vp | ||
source depthshadowcaster.cg | ||
profiles vs_1_1 arbvp1 | ||
entry_point main_vp | ||
|
||
default_params | ||
{ | ||
param_named_auto wvpMat worldviewproj_matrix | ||
} | ||
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 | ||
source depthshadowcaster.cg | ||
profiles ps_2_0 arbfp1 | ||
entry_point main_fp | ||
|
||
default_params | ||
{ | ||
} | ||
default_params | ||
{ | ||
} | ||
} | ||
|
||
fragment_program depth_shadow_caster_ps_noalpha cg | ||
{ | ||
source depthshadowcaster.cg | ||
profiles ps_2_0 arbfp1 | ||
entry_point main_fp_noalpha | ||
source depthshadowcaster.cg | ||
profiles ps_2_0 arbfp1 | ||
entry_point main_fp_noalpha | ||
|
||
default_params | ||
{ | ||
} | ||
default_params | ||
{ | ||
} | ||
} | ||
|
||
material depth_shadow_caster | ||
{ | ||
technique | ||
{ | ||
pass | ||
{ | ||
vertex_program_ref depth_shadow_caster_vs | ||
{ | ||
} | ||
technique | ||
{ | ||
pass | ||
{ | ||
// 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 | ||
{ | ||
technique | ||
{ | ||
pass | ||
{ | ||
vertex_program_ref depth_shadow_caster_vs | ||
{ | ||
} | ||
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 | ||
{ | ||
} | ||
} | ||
} | ||
fragment_program_ref depth_shadow_caster_ps_noalpha | ||
{ | ||
} | ||
} | ||
} | ||
} |