kevinortegren / zombieshroom

Large game project
11 stars 2 forks source link

Water rafraction halo #43

Closed kevinortegren closed 10 years ago

kevinortegren commented 10 years ago

Need to write a refraction occlusion mask to remove this error

kevinortegren commented 10 years ago

Possible solution: Sample 5 depth values at refration point and only refract if all of them are greater than water depth.

kevinortegren commented 10 years ago

Fixed with texelFetch in shader