Skip to main content
gamedev.net
🔒 Locked

Changing render states

Started by MatuX 0 replies 250+ views
Original Post
MatuX
MatuX
Does changing from ZBuffer to WBuffer and back to ZBuffer per frame cost too much?
Evil Bill
Evil Bill
If you don''t know: write a test app to test it!
I don''t think it should be that slow - it is after all jsut a render state changing. But i don''t know what will happen if you try to change it in mid-scene.

Why would you want to change it anyway? You should always use W-buffering when possible, and if you''re doing it to test if its availiable for some perverse reason, then it should be done at setup and it shouldn''t matter too much how slow it is.

Steve

Steve
DirectX Programmer
Soon to be the new Bill Gates
Member of the Unban Mindwipe Society (UMWS)

Topic Locked

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

Sign in to reply to this topic.