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

Where to set texture parameters

Started by yanksfan2344 Sep 23, 2012 at 3:46 AM 0 replies 850+ views
Original Post
yanksfan2344
yanksfan2344
So I have been debating with myself about this for a bit and I figured I would ask here to get an opinion. Where is a good place to call functions that set parameters related to texturing? For example, glTexParameteri(). If I want the filtering for one object's texture to be different from another does that mean I essentially have to set all of that up in its render function? Would there be a lot of overhead in doing such a thing?

Thoughts are appreciated.

Topic Locked

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

Sign in to reply to this topic.