Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/materials/Cube_Lava_Normal_Blank.material @ 12412

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

Implemented material script inheritance for bump mapping

File size: 707 bytes
Line 
1import * from "BumpMap.material"
2// Any number of lights, diffuse
3material Cube_Lava_Normal_Blank : 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                colour_op_ex source1 src_manual src_current 0.8 0.8 0.8
28            }
29        }
30    }
31}
Note: See TracBrowser for help on using the repository browser.