mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 09:18:36 +01:00
Light the cab with the sun coming in through its windows
This commit is contained in:
@@ -11,7 +11,10 @@ layout(location = 3) in vec4 f_pos;
|
||||
layout(set = MATERIAL_SET, binding = MATERIAL_TEXTURE_FIRST + 0) uniform sampler2D diffuse;
|
||||
// the cube shadow map of the cab lamp
|
||||
layout(set = PASS_SET, binding = LOCAL_SHADOW_TEX) uniform samplerCubeArrayShadow probe_shadowmap;
|
||||
// the probe drawn last, where the windows of the cab are
|
||||
layout(set = PASS_SET, 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