mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 01:12:26 +01:00
Light the cab with the sun coming in through its windows
This commit is contained in:
@@ -12,7 +12,10 @@ layout(location = 3) in vec4 f_pos;
|
||||
layout(binding = 0) uniform sampler2D diffuse;
|
||||
// the cube shadow map of the cab lamp, see gl::LOCAL_SHADOW_TEX
|
||||
layout(binding = LOCAL_SHADOW_TEX) uniform samplerCubeArrayShadow probe_shadowmap;
|
||||
// the probe drawn last, where the windows of the cab are, see gl::CAB_PROBE_MASK_TEX
|
||||
layout(binding = CAB_PROBE_MASK_TEX) uniform samplerCube cab_probe_mask;
|
||||
|
||||
#include "weather_common.glsl"
|
||||
#include "cabprobe.glsl"
|
||||
|
||||
void main()
|
||||
|
||||
Reference in New Issue
Block a user