Closed kevinortegren closed 10 years ago
Need to write a refraction occlusion mask to remove this error
Possible solution: Sample 5 depth values at refration point and only refract if all of them are greater than water depth.
Fixed with texelFetch in shader
Need to write a refraction occlusion mask to remove this error