Skip to content

Instantly share code, notes, and snippets.

@rahulbhadani
Created March 22, 2020 19:37
Show Gist options
  • Save rahulbhadani/4fddf4394c458b56cd229fbeac36917e to your computer and use it in GitHub Desktop.
Save rahulbhadani/4fddf4394c458b56cd229fbeac36917e to your computer and use it in GitHub Desktop.
material road
{
technique
{
pass
{
ambient 0.1 0.1 0.1 1.0
diffuse 0.8 0.8 0.8 1.0
specular 0.01 0.01 0.01 1.0 2.0
texture_unit
{
// Relative to the location of the material script
texture residential.jpg
// Repeat the texture over the surface (4 per face)
// scale 0.5 0.5
filtering trilinear
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment