mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 11:37:29 +01:00
22 lines
924 B
GLSL
22 lines
924 B
GLSL
#version 460 core
|
|
#define STAGE_FRAGMENT 1
|
|
// the rails and the ballast of a track of a normal mapped material faded into those of the tracks joined at its ends, see trackblend.glsl
|
|
#define TRACKBLEND_NORMALMAP 1
|
|
#pragma texture(diffuse, 0, sRGB_A)
|
|
layout(binding = 0) uniform sampler2D diffuse;
|
|
#pragma texture(diffuse1, 1, sRGB_A)
|
|
layout(binding = 1) uniform sampler2D diffuse1;
|
|
#pragma texture(diffuse2, 2, sRGB_A)
|
|
layout(binding = 2) uniform sampler2D diffuse2;
|
|
#pragma texture(diffuse3, 3, sRGB_A)
|
|
layout(binding = 3) uniform sampler2D diffuse3;
|
|
#pragma texture(normalmap, 4, RGBA)
|
|
layout(binding = 4) uniform sampler2D normalmap;
|
|
#pragma texture(normalmap1, 5, RGBA)
|
|
layout(binding = 5) uniform sampler2D normalmap1;
|
|
#pragma texture(normalmap2, 6, RGBA)
|
|
layout(binding = 6) uniform sampler2D normalmap2;
|
|
#pragma texture(normalmap3, 7, RGBA)
|
|
layout(binding = 7) uniform sampler2D normalmap3;
|
|
#include "trackblend.glsl"
|