Raymarching Help

I'm trying to set up a simple raymarching shader but not having much luck. I've tried a number of different things, the shader compiles ok and does show the right color(one of them) but it's always a miss. The windows size is correct. Also not sure as to what to tie the shader to, what would be the best way to create the quad/rectangle? I've added it a number of different ways but it's not working properly yet.


  • Disregard, had to use gl_FragCoord in the fragment shader. Was using fragTexCoord and it wasn't coming from the vertex shader with the correct value.
Sign In or Register to comment.