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 ?
I don’t have a solution to your problem, that will have to come from others, as I have very little experience with the render path. I can suggest an alternate way to accomplish (likely) what you are trying to do, though: render the models to a texture and then display those images in the UI.
In case theres no other solution i will use rtt. Thinking about this problem and reading the documentation i had an idea : Maybe i could do the opposite ? Render the ui on top as usual and when i show the inventory just render the UI before the 3d models. So let me rephrase the question :
Is there a way to turn on and off various commands in the renderpath ?
OK i have some progress : tagging “rederui” commands in the renderpath as “postUI” and “preUI” and then enable/disable them to achive the desired effect solves the problem. I wonder are there any drawbacks or price to pay for this extremely easy and trivial solution…