Sign in to follow this  
chronozphere

Rendering with empty techniqe

Recommended Posts

Hi all. I was wondering. Can i render using this technique? technique EmptyTechnique { pass p0 { //empty technique } } I am rendering everything in my engine via the effect framework. I also have some things that don't need any shader-stuff. Like debug dummies (grid, box etc). Can i use an empty technique for those?? just for simplicity. Thanx in advance.

Share this post


Link to post
Share on other sites
Try it and see [smile]

I'm pretty sure you should be ok, its just whether you need to explicitly set the VS and PS to be null. The D3DX debug messages tend to be quite vocal if you do something it doesn't like [wink]

hth
Jack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this