mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-10 19:33:02 +01:00
Light the cab with the sun coming in through its windows
This commit is contained in:
@@ -84,7 +84,9 @@ constexpr std::uint32_t CAB_PROBE_SSBO = 30;
|
||||
// the scenery and the shares of the sky and the limits of the key light, read texel by texel
|
||||
constexpr std::uint32_t SKY_OCCLUSION_HEIGHT_TEX = 31;
|
||||
constexpr std::uint32_t SKY_OCCLUSION_TEX = 32;
|
||||
constexpr std::uint32_t PASS_BINDING_COUNT = 33;
|
||||
// the probe of the cab drawn last, a small level of its albedo, which the drawing of the probe reads to tell where the windows are
|
||||
constexpr std::uint32_t CAB_PROBE_MASK_TEX = 33;
|
||||
constexpr std::uint32_t PASS_BINDING_COUNT = 34;
|
||||
// the offsets of the bindings above with dynamic offsets, in the order of the bindings
|
||||
constexpr std::uint32_t PASS_DYNAMIC_OFFSETS = 6;
|
||||
// the textures of a material take the bindings of their units (#pragma texture(name, unit, ...)), 0 .. MAX_TEXTURES - 1
|
||||
|
||||
Reference in New Issue
Block a user