Created
November 3, 2014 10:41
-
-
Save oyvindln/f79922f0a34f66a7aae3 to your computer and use it in GitHub Desktop.
dirt material file
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
import RTSS/NormalMapping_MultiPass from "RTShaderSystem.material" | |
material Dirt : RTSS/NormalMapping_MultiPass | |
{ | |
technique | |
{ | |
pass lighting | |
{ | |
// Override the normal map. | |
rtshader_system | |
{ | |
lighting_stage normal_map Dirt_dark_nor3.png tangent_space 0 bilinear 1 -1.0 | |
} | |
} | |
pass decal | |
{ | |
specular 0.3 0.3 0.3 1.0 20.0 | |
texture_unit decalmap | |
{ | |
texture Dirt_darkE.png | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment