Jump to content

ShadowOnly material broken?


c75
 Share

Recommended Posts

Quote

Check it again.

babylon.js:3 BJS - [13:03:01]: Defines: #define NORMAL
#define NUM_BONE_INFLUENCERS 0
#define BonesPerMesh 0
#define LIGHT0
#define DIRLIGHT0
#define SHADOW0
#define SHADOWESM0
#define SPECULARTERM
#define SHADOWS
#define SHADOWFULLFLOAT

t._ErrorEnabled @ babylon.js:3
babylon.js:3 BJS - [13:03:01]: Error: ERROR: 0:421: 'specularBase' : undeclared identifier
ERROR: 0:421: 'assign' : cannot convert from 'highp 3-component vector of float' to 'float'

 

 

 

Link to comment
Share on other sites

Even empty my cache, I have it in the console.

Quote


babylon.js:3 BJS - [18:33:33]: Defines: #define NORMAL
#define NUM_BONE_INFLUENCERS 0
#define BonesPerMesh 0
#define LIGHT0
#define DIRLIGHT0
#define SHADOW0
#define SHADOWESM0
#define SPECULARTERM
#define SHADOWS
#define SHADOWFULLFLOAT

t._ErrorEnabled @ babylon.js:3
Effect._prepareEffect @ babylon.js:17
(anonymous) @ babylon.js:17
Effect._processShaderConversion @ babylon.js:17
(anonymous) @ babylon.js:17
Effect._processIncludes @ babylon.js:17
(anonymous) @ babylon.js:17
Effect._loadFragmentShader @ babylon.js:17
(anonymous) @ babylon.js:17
Effect._processShaderConversion @ babylon.js:17
(anonymous) @ babylon.js:17
Effect._processIncludes @ babylon.js:17
(anonymous) @ babylon.js:17
Effect._loadVertexShader @ babylon.js:17
Effect @ babylon.js:17
n.createEffect @ babylon.js:5
t.isReady @ babylon.shadowOnlyMaterial.min.js:1
r.render @ babylon.js:14
t.render @ babylon.js:15
t.renderSorted @ babylon.js:11
t.renderTransparentSorted @ babylon.js:11
t.render @ babylon.js:11
t.render @ babylon.js:11
r._renderForCamera @ babylon.js:13
r._processSubCameras @ babylon.js:13
r.render @ babylon.js:13
(anonymous) @ index.js:194
n._renderLoop @ babylon.js:4
babylon.js:3 BJS - [18:33:33]: Error: ERROR: 0:421: 'specularBase' : undeclared identifier
ERROR: 0:421: 'assign' : cannot convert from 'highp 3-component vector of float' to 'float'
 

 

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...