Skip to content
Snippets Groups Projects

Resolve "Voxel cone tracing"

Merged Ghost User requested to merge 82-voxel-cone-tracing into develop
3 files
+ 37
17
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -2,6 +2,13 @@
#extension GL_ARB_separate_shader_objects : enable
#extension GL_GOOGLE_include_directive : enable
void main() {
#include "perMeshResources.inc"
layout(location = 0) in vec2 passUV;
void main() {
float alpha = texture(sampler2D(albedoTexture, textureSampler), passUV).a;
if(alpha < 0.5){
discard;
}
}
\ No newline at end of file
Loading