Sign in to follow this  
Esmo2000

fx composer scripts

Recommended Posts

Does anyone know how "Draw=geometry;"; differs from "Draw=buffer;"; I don't understand what's happening in the latter. If anyone knew where the documentation for this was I would be grateful, I can't find it anywhere! Regards, Jim

Share this post


Link to post
Share on other sites
I'm not 100% sure but I use "Draw=geometry;" when I am affecting the scene in "geometry space". For example, the grass and fur shader(a shell technique that works on the geometry only)that I use has "Draw=geometry;". I also have some shaders that do full screen post-processing effects, some with interaction, and actually have to define a render target (like "RenderColorTarget=;" or "RenderDepthStencilTarget=;". That's when I use "Draw=buffer;". I just used a little trial and error to get these to work but have no idea what the ramifications, or justifications, are for using each case. Hope that helps a little. If you find out the exact when and why in using these, please post them here.

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