Skip to main content
GameDev.net gamedev.net
🔒 Locked

View Transformation Inside Fragment Programs

Started by Lithic Mar 30, 2004 at 3:46 PM 0 replies 150+ views
Original Post
Lithic
Lithic
Assuming I wanted to apply a transformation to a vector inside a fragment program (no i don''t mean vertex program) based on the rotation of the camera, what would i need to send as parameters into the fragment program to properly perform the transformation? Would i want to get these values from the modelview matrix?

Topic Locked

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

Sign in to reply to this topic.