Search found 1 match

by duckwottery
Mon Jul 25, 2016 1:41 pm
Forum: Beginners Help
Topic: Passing geometry information to fragment shader
Replies: 1
Views: 500

Passing geometry information to fragment shader

Hey, I want to create a very simple raytracer in GLSL, that refracts the view rays at a water plane perpendicular to the camera. The shader is really simple. No recursion needed. Right now the intersection point with the water plane is calculated and a new ray is spawned that checks for intersection...