You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lime.utils.Assets] There is no TEXT asset with an ID of "assets/shaders/legacydefault.vertex.fx"
[lime.utils.Assets] There is no TEXT asset with an ID of "assets/shaders/legacydefault.fragment.fx"
so i tryed to copy the missing shaders from com.babylonhx/shader to assets/shader but then:
It works up to the same position, in Firefox it reports a more helpful error message:
String contains the illegal character '65279'
Perhaps this is an issue with the source fragment shaders? I've never seen this error with any Lime project before
EDIT: Update, this is caused by a byte-order mark in these files, removing fixed the error. Now nothing appears to happen, so there must be a logic issue next
Ahoi,
on cpp (win7) basic scene sample works fine, but for html5 there is something new in Lime for webgl.
It did not found Gl with ...getContext("webgl", options) here:
-> https://github.com/vujadin/BabylonHx/blob/master/com/babylonhx/Engine.hx#L260
so changing it to "webgl2" it goes a little bit forward:
but then more Errors in loading shader Assets:
[lime.utils.Assets] There is no TEXT asset with an ID of "assets/shaders/legacydefault.vertex.fx"
[lime.utils.Assets] There is no TEXT asset with an ID of "assets/shaders/legacydefault.fragment.fx"
so i tryed to copy the missing shaders from com.babylonhx/shader to assets/shader but then:
Effect.hx:361: Unable to compile effect: legacydefault
Effect.hx:362: Defines:
#define SPECULARTERM
#define NORMAL
#define LIGHT0
#define HEMILIGHT0
#define BonesPerMesh 0
#define NUM_BONE_INFLUENCERS 0
Effect.hx:364: Error: ERROR: 0:? : '' : syntax error
i get stuck again :(
The text was updated successfully, but these errors were encountered: