Поправка порядка рендера чанков
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 450
|
||||
#version 460
|
||||
|
||||
layout (triangles) in;
|
||||
layout (triangle_strip, max_vertices = 3) out;
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#version 450
|
||||
#version 460
|
||||
|
||||
layout(location = 0) in uvec3 Vertex;
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,6 @@
|
||||
#version 450
|
||||
#version 460
|
||||
|
||||
// layout(early_fragment_tests) in;
|
||||
|
||||
layout(location = 0) in FragmentObj {
|
||||
vec3 GeoPos; // Реальная позиция в мире
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#version 450
|
||||
#version 460
|
||||
|
||||
layout(location = 0) in FragmentObj {
|
||||
vec3 GeoPos; // Реальная позиция в мире
|
||||
@@ -20,5 +20,5 @@ layout(set = 1, binding = 1) readonly buffer LightMapLayoutObj {
|
||||
} LightMapLayout;
|
||||
|
||||
void main() {
|
||||
Frame = vec4(1);
|
||||
}
|
||||
Frame = vec4(Fragment.GeoPos, 1);
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user