wip: creating 3d texture node buffer

This commit is contained in:
Piotrek
2021-04-17 15:52:29 +02:00
parent 7a1821643c
commit 4f24394273
4 changed files with 93 additions and 3 deletions
Binary file not shown.
+3
View File
@@ -12,6 +12,9 @@ layout(set=0, binding=0) uniform Uniforms
vec3 cam_pos;
};
layout(set = 1, binding = 0) uniform texture3D node_tex;
layout(set = 1, binding = 1) uniform sampler node_sampl;
// Defines
#define PI 3.141592
#define EPSILON 0.01