Jump to content

customMaterial does not work anymore


Dad72
 Share

Recommended Posts

I did not watch my scene that uses customMaterial for some time but today it does not work anymore and worked very well before.

All my textures using customMaterial are black now. So my two editors (HeroonEngine, the game, and TerrainEditor) have a pretty black texture that was not the case before.

http://www.babylonjs-playground.com/#FC4IX#89

What has changed?

 

Link to comment
Share on other sites

hi 

 after updated some  changes for nmp we lose live set uniform option 

that  http://www.babylonjs-playground.com/#FC4IX#90 most work but i dont know why don't set texture

the old version is work fine but old version source not complied in new source

http://www.babylonjs-playground.com/#FC4IX#91

 

use this for set and update uniforms  :   onBindObservable.add 
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...