NasimiAsl Posted May 21, 2017 Share Posted May 21, 2017 you can make your shader inside the StandardMaterial with CustomShader 1. make your Custom diffuse : http://www.babylonjs-playground.com/#0GG6MR http://www.babylonjs-playground.com/#0GG6MR#1 http://www.babylonjs-playground.com/#0GG6MR#14 2. manage color in last step http://www.babylonjs-playground.com/#0GG6MR#4 http://www.babylonjs-playground.com/#0GG6MR#5 http://www.babylonjs-playground.com/#FC4IX#71 // cel - toon shade - vertex update [in progress] adam, Dad72 and brianzinn 3 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 21, 2017 Share Posted May 21, 2017 Thank you Nasimi for this feature/Material. This works well on my projects. Quote Link to comment Share on other sites More sharing options...
Spankied Posted May 21, 2017 Share Posted May 21, 2017 Very interesting Quote Link to comment Share on other sites More sharing options...
Gijs Posted May 22, 2017 Share Posted May 22, 2017 Does http://www.babylonjs-playground.com/#0GG6MR#6 work for you? I get shader compilation errors. And shouldn't "deffiuse" be "diffuse" in "Fragment_Custom_Deffiuse"? Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted May 22, 2017 Author Share Posted May 22, 2017 hi it is my fault i correct It : http://www.babylonjs-playground.com/#0GG6MR#14 i rename that in github but now have it in PG yet Gijs 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.