Skip to main content
gamedev.net
๐Ÿ”’ Locked

Cube mapping

Started by whathappened Apr 22, 2006 at 11:22 AM 0 replies 850+ views
Original Post
whathappened
whathappened
I'm currently implementing a simple shader for cube mapping. Just a short question. For now, I'm passing the vertex positions to the pixel shader. Then, I calculate the reflection direction for each pixel in the PS. Will I get another result if I calculate the reflection vectors from each vertex and interpolate those vectors (instead of the positions)?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.