Created
June 15, 2012 12:33
-
-
Save smakhtin/2936240 to your computer and use it in GitHub Desktop.
Alpha Keying Material
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
material plan/lambert1 | |
{ | |
technique | |
{ | |
pass | |
{ | |
scene_blend alpha_blend | |
vertex_program_ref Deferred_vs | |
{ | |
} | |
fragment_program_ref Deferred_ps | |
{ | |
} | |
texture_unit | |
{ | |
} | |
} | |
} | |
} | |
vertex_program Deferred_vs hlsl | |
{ | |
source alphaKey_vs.hlsl | |
target vs_3_0 | |
entry_point main | |
default_params | |
{ | |
//param_named_auto worldView worldview_matrix | |
param_named_auto worldViewProj worldviewproj_matrix | |
} | |
} | |
fragment_program Deferred_ps hlsl | |
{ | |
source alphaKey_ps.hlsl | |
target ps_3_0 | |
entry_point main | |
default_params | |
{ | |
//param_named specularity float 0.0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment