Skip to content

Instantly share code, notes, and snippets.

@oyvindln
Created November 3, 2014 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oyvindln/f79922f0a34f66a7aae3 to your computer and use it in GitHub Desktop.
Save oyvindln/f79922f0a34f66a7aae3 to your computer and use it in GitHub Desktop.
dirt material file
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