JOGL2 routine simulating refraction (and reflection) using GLSL. Takes fresnels term into account to allow a view dependant blend of reflection/refraction. Code on Github: GL3_Refraction.java. Shader code: .vs .fs

  1. copypastaresearch posted this

NIGHTNIGHT by DEDDY