blub
This commit is contained in:
@@ -6,6 +6,8 @@ layout(binding = 0) uniform sampler2D depthTex;
|
||||
void main() {
|
||||
vec4 depths = textureGather(depthTex, uv, 0); // Get depth values from all surrounding texels.
|
||||
|
||||
//TODO: fully fix this system
|
||||
|
||||
//TODO, do it so that for the first 2,3 levels if 1 (or maybe even 2 (on the first layer)) pixels are air, just ignore that
|
||||
// this is to stop issues with 1 pixel gaps
|
||||
bvec4 cv = lessThanEqual(vec4(0.99999999), depths);
|
||||
|
||||
Reference in New Issue
Block a user