AndrewRayCode / ShaderFrog-Runtime

Runtime library for ShaderFrog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AFrame/ThreeJS Fails with Certain Shaders

msj121 opened this issue · comments

I have created a plugin using your great library and I am running into the following error:
Cannot read property 'x' of undefined. This was imported into AFrame a VR library built on top of ThreeJS

I have documented it better here:
msj121/aframeFrogShaders#1

Run the following file:

https://rawgit.com/msj121/aframeFrogShaders/master/examples/error.html
You can check the console for the error output.

Any ideas? Are there maybe specific types of shaders to avoid?