fix: alot of stuff changed. Mostly bugfixxes / architechture changes
This commit is contained in:
@@ -8,7 +8,8 @@ layout (set = 0, binding = 1) uniform sampler samplers[];
|
||||
|
||||
#define NEAREST_SAMPLER_ID 0
|
||||
#define LINEAR_SAMPLER_ID 1
|
||||
#define SHADOW_SAMPLER_ID 2
|
||||
#define ANISOTROPIC_SAMPLER_ID 2
|
||||
#define SHADOW_SAMPLER_ID 3
|
||||
|
||||
vec4 sampleTexture2DNearest(uint texID, vec2 uv) {
|
||||
return texture(nonuniformEXT(sampler2D(textures[texID], samplers[NEAREST_SAMPLER_ID])), uv);
|
||||
|
||||
Reference in New Issue
Block a user