spidersharma Posted October 14, 2019 Share Posted October 14, 2019 Hi, This is my first post on this forum ? I am new to Babylon.js, and wanted to write a shader which writes its output to a render target, which I will use later as an input to another shader. My first question is:: How can I apply a single shader to all the meshes in the scene, without assigning the new materials to each mesh manually. In three.js there is a property called overrideMaterial in scene, which is helpful in such scenario. Is it possible in Babylon? My Second question is related to post processing. Is it possible to write the output of post processing shader to a render target, which then can be used as an input to another shader? I am sure the answer to above questions is yes, as Babylon looks a great Engine! Thanks in advance ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.