phil1234 Posted October 9, 2015 Share Posted October 9, 2015 Hi everyone, I need to give the shader code directly to a PostProcess (no server involved) in js codehow do I do that ? regards Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 9, 2015 Share Posted October 9, 2015 You can save the code in BABYLON.Effect.ShadersStore. Like mentioned here: http://www.html5gamedevs.com/topic/17660-shader-inside-a-variable/?hl=shadersstore#entry99524 leechii 1 Quote Link to comment Share on other sites More sharing options...
Temechon Posted October 10, 2015 Share Posted October 10, 2015 Example here: colorify shader post process! : http://www.babylonjs-playground.com/#EKICU leechii 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.