mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 20:27:28 +01:00
13 lines
461 B
GLSL
13 lines
461 B
GLSL
// the ballast of a track of a normal mapped material mixed in grains into that of the tracks joined at its ends, see trackblend.glsl
|
|
#define TRACKBLEND_GRAIN 1
|
|
#define TRACKBLEND_NORMALMAP 1
|
|
#texture (normalmap, 4, RGBA)
|
|
uniform sampler2D normalmap;
|
|
#texture (normalmap1, 5, RGBA)
|
|
uniform sampler2D normalmap1;
|
|
#texture (normalmap2, 6, RGBA)
|
|
uniform sampler2D normalmap2;
|
|
#texture (normalmap3, 7, RGBA)
|
|
uniform sampler2D normalmap3;
|
|
#include <trackblend.glsl>
|