|
@@ -305,19 +305,15 @@ layout(set = 1, binding = 15) uniform texture2DArray sdfgi_lightprobe_texture;
|
|
|
layout(set = 1, binding = 16) uniform texture3D sdfgi_occlusion_cascades;
|
|
|
|
|
|
struct VoxelGIData {
|
|
|
- mat4 xform;
|
|
|
- vec3 bounds;
|
|
|
- float dynamic_range;
|
|
|
+ mat4 xform; // 64 - 64
|
|
|
|
|
|
- float bias;
|
|
|
- float normal_bias;
|
|
|
- bool blend_ambient;
|
|
|
- uint texture_slot;
|
|
|
+ vec3 bounds; // 12 - 76
|
|
|
+ float dynamic_range; // 4 - 80
|
|
|
|
|
|
- float anisotropy_strength;
|
|
|
- float ambient_occlusion;
|
|
|
- float ambient_occlusion_size;
|
|
|
- uint mipmaps;
|
|
|
+ float bias; // 4 - 84
|
|
|
+ float normal_bias; // 4 - 88
|
|
|
+ bool blend_ambient; // 4 - 92
|
|
|
+ uint mipmaps; // 4 - 96
|
|
|
};
|
|
|
|
|
|
layout(set = 1, binding = 17, std140) uniform VoxelGIs {
|