Blog

Portfolio CV

More GPU ray tracing

Published:
2008-09-29 01:00:00
Posted from:
Home
Tags:
GLSL, Ray tracing,

Worked a little bit more on my GPU ray tracer today, an hour or so. Spent most of the day cleaning and updating my CV and my portfolio page. However, I managed to get reflections working (again actually): GPU ratracing with reflections

The tricky part is that GLSL doesn't support recursive functions, so reflections has to be done in a loop, which isn't much harder, unless you also want refractions, sss or anything else that requires more than one ray. In that case you'll have to look into creating some sort of stack with new rays. I don't think I'll go down that road, will most likely limit myself to diffuse surfaces if I am to work more with this.

Comments

No comments so far. You leave the first:

Name
Email
Website
Text

© 2008 Markus Johnsson