In Cocos Creator with CRP, is it possible to render specific objects into a RenderTexture after the forward pass but before post-processing? · Issue #18711 · cocos/cocos-engine · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have previously discussed this topic with Hyde Zhou on the Cocos forum, but I’d like to document it more formally here for future reference and potential feature consideration.
First, I have already implemented the following code:
But the problem is, I don't know how to use filtering to render only the objects I want! All of my objects use the same uber shader. I select them in the scene and get a list of them. So what should I do next?
It would be ideal if there were an API like ppl.addRenderPass(cameraConfigs.width, cameraConfigs.height, array<model>, passName); or something similar, because I already have the list of models. I don't need to loop through them again using a filter like:
for(constmodelofscene.models){// do something or filter}
I have previously discussed this topic with Hyde Zhou on the Cocos forum, but I’d like to document it more formally here for future reference and potential feature consideration.
First, I have already implemented the following code:
But the problem is, I don't know how to use filtering to render only the objects I want! All of my objects use the same uber shader. I select them in the scene and get a list of them. So what should I do next?
It would be ideal if there were an API like
ppl.addRenderPass(cameraConfigs.width, cameraConfigs.height, array<model>, passName);
or something similar, because I already have the list of models. I don't need to loop through them again using a filter like:Or something like:
The text was updated successfully, but these errors were encountered: