source:
data/data_extern/materials/Cube_Lava_Normal.material
@
12373
Last change on this file since 12373 was 12181, checked in by merholzl, 6 years ago | |
---|---|
File size: 672 bytes |
Rev | Line | |
---|---|---|
[12120] | 1 | import * from "BumpMap.material" |
[12085] | 2 | // Any number of lights, diffuse |
[12120] | 3 | material 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.