Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/materials/Cube_Lava_Normal.material @ 12302

Last change on this file since 12302 was 12120, checked in by wiesep, 6 years ago

Implemented material script inheritance for bump mapping

File size: 672 bytes
Line 
1import * from "BumpMap.material"
2// Any number of lights, diffuse
3material Cube_Lava_Normal : BumpMap_Base
4{
5    technique
6    {
7        pass ambient
8        {
9        }
10        // Now do the lighting pass
11        // NB we don't do decal texture here because this is repeated per light
12        pass perlight
13        {
14            // Base bump map
15            texture_unit normalmap
16            {
17                texture Cube_Lava_NORM.jpg
18                colour_op replace
19            }
20        }
21
22        // Decal pass
23        pass decal
24        {
25            texture_unit decalmap
26            {
27                texture Cube_Lava_COLOR.jpg
28            }
29        }
30    }
31}
Note: See TracBrowser for help on using the repository browser.