Jump to content

white diffuse color


Jon DevoS
 Share

Recommended Posts

actually your bottom cube is already white.

You may want to make the character disapear from textute instead ? in this case, the texture needs to be dynamically updated. Probably it needs an alpha channel and then, this one be set with a time function. Not sure... maybe there's a simpler approach by changing the mix and the way it's mixed between the texture and the emissive color. I'm not expert in this domain.

I think anyway the texture must be modified at a certain point.

Link to comment
Share on other sites

This works, but usually as standard materials are subject to light, in order to emit lights (white) you need to play withe the emissive color:

https://www.babylonjs-playground.com/#ICZEXW#87 (just as a quick example)

Easiest would be to use an unlit material so you would not see any lighting artifacts:

https://www.babylonjs-playground.com/#ICZEXW#88

 

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...