Hi ! I have added extra commands to the default renderpath like this :
<renderpath> <command type="renderui"/> <command type="clear" depth="1.0" /> <command type="scenepass" pass="ontop"/> </renderpath>
This way i can render certain models on top of UI elements (showing 3d models inside inventory) So every model which technique has a “ontop” pass defined will be rendere after the ui. The only problem with this is only renders the models bland , (diffuse only ,since it is a scenepass). How could i expand to have specular , normal and light pass after “renderui” ? I could just copy the whole Forward renderpath after this command but that would render again everything twice.
Is there a way to have a post UI render path but to filter which models to render ?