Adjusting rendering for different hardware

Started by
0 comments, last by d000hg 21 years, 6 months ago
If I want to make a version of my renderer run on a single texturing card but make best use of cards with up to 4 texture units, what''s the best way to do this? I know I can use effects to set up the renderstates and all but I''d still need different functions to actually do the rendering I think. Would having a function pointer set to the correct function be a sensible idea or really ugly? Thanks Read about my game, project #1 NEW (9th September)diaries for week #5 Also I''m selling a few programming books very useful to games coders. Titles on my site. John 3:16
Advertisement
Possibly the best way I have seen is to use D3DXEffects. You can set the textures, passes, etc all from one interface.

Neil

WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!

This topic is closed to new replies.

Advertisement