# Render multiple techniques on an Object

This topic is 2872 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi everyone,

I have a question (again):

+ I have a list of techniques (A, B , C...)

+ I have an object

How can i render this object with many techniques?

Quote:
 For example:+ I have 2 techniques name "EnvironmentTechnique" and "ShadowMapTechnique"+ I have a sphereI want to draw a sphere that reflects the environment around it (using the EnvironmentTechnique) and the sphere also casts shadow on the ground (Using ShadowMapTechnique)

Thanks for the help!

##### Share on other sites
I don't think this is possible. Try making single technique

EnvironmentShadowMapTechnique{   //passes from environment   //passes from shadow map}

##### Share on other sites
The problem is:

If i have 100 objects and 100 techniques. Each object will be rendered using different list of techniques. If doing like your suggestion, i have to create a lot of new techniques (which combine the pass of each separate technique). Very inconvenient!

Is there any other way?

• 10
• 17
• 9
• 13
• 41