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
RevLine 
[12120]1import * from "BumpMap.material"
[12085]2// Any number of lights, diffuse
[12120]3material Cube_Lava_Normal : BumpMap_Base
[12085]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        }
[12096]21
[12085]22        // Decal pass
23        pass decal
24        {
[12092]25            texture_unit decalmap
26            {
[12096]27                texture Cube_Lava_COLOR.jpg
[12092]28            }
[12085]29        }
30    }
[12120]31}
Note: See TracBrowser for help on using the repository browser.