ozRocker Posted June 7, 2017 Share Posted June 7, 2017 42 minutes ago, NasimiAsl said: Wait for CustomMaterial Next PullRequest you can do a lot material stuff on that Is there a way to set the roof and ground to a single color for this? http://www.babylonjs-playground.com/#1EJRYH#8 I think I need to pass a uniform Babylon.Color3 which I turn into a vec4 in the fragment Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted June 7, 2017 Share Posted June 7, 2017 15 minutes ago, ozRocker said: Is there a way to set the roof and ground to a single color for this? http://www.babylonjs-playground.com/#1EJRYH#8 I think I need to pass a uniform Babylon.Color3 which I turn into a vec4 in the fragment http://www.babylonjs-playground.com/#1EJRYH#13 Quote Link to comment Share on other sites More sharing options...
ozRocker Posted June 7, 2017 Share Posted June 7, 2017 1 hour ago, NasimiAsl said: http://www.babylonjs-playground.com/#1EJRYH#13 Perfect! 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.