n26 Posted January 14, 2015 Share Posted January 14, 2015 Blender has the option to set a material to be shadeless (i.e.: make it insensitive to light and shadow): Is it possible to achieve this behavior in Babylon? Thanks Quote Link to comment Share on other sites More sharing options...
RaananW Posted January 14, 2015 Share Posted January 14, 2015 You can achieve this with emissive Color (or Texture) - if I understand you correctly. (Diffuse and Specular colors must be set to black)Load material mat_528660 in http://materialeditor.raananweber.com/ to see how it works. Quote Link to comment Share on other sites More sharing options...
n26 Posted January 14, 2015 Author Share Posted January 14, 2015 I am not sure how to set this in Blender directly. Nevertheless, the following snippet achieved exactly what I've wanted, thanks!material.diffuseColor = new BABYLON.Color3(0, 0, 0)material.specularColor = new BABYLON.Color3(0, 0, 0)material.emissiveTexture = material.diffuseTexturematerial.diffuseTexture = null Quote Link to comment Share on other sites More sharing options...
amarneethi Posted February 4, 2016 Share Posted February 4, 2016 @RaananW I'm looking for a similar shadeless solution but with texture. I tried loading the material (mat_528660) but it says check id. Can you please help. Update:I figured it out myself in the material editor. RaananW 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted February 4, 2016 Share Posted February 4, 2016 http://babylonjs.com/cyos/ template : basic thats your need 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.