Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vertex_program SpecLight/VP hlsl
- {
- source SpecularLightning.hlsl
- entry_point SpecularLightning_vp
- target vs_2_0
- }
- fragment_program SpecLight/FP hlsl
- {
- source SpecularLightning.hlsl
- entry_point SpecularLightning_fp
- target ps_2_0
- }
- material Tehadon/StaticGround
- {
- technique
- {
- pass
- {
- // Vertex program reference
- vertex_program_ref SpecLight/VP
- {
- param_named_auto uWorldViewProj worldviewproj_matrix
- param_named_auto uWorldMatrix world_matrix
- //param_named_auto cLightDirection float3 0 -1 0
- }
- // Fragment program
- fragment_program_ref SpecLight/FP
- {
- //param_named_auto LightColor float4 1 1 1 1
- //param_named_auto AmbientColor float4 1 1 1 1
- }
- texture_unit
- {
- texture StaticGround.png
- tex_coord_set 0
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement