-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GVRCubeSceneObject with texture array throw invocation exception #1722
Comments
Not necessarily on needing comas. In generateVariantDefines() in GVRShaderTemplate.java for example, vertexDesc is searched for containing key words, thus punctuations don't matter. Edit: |
The vertex descriptor in the corresponding constructor must be |
…w invocation exception
…w invocation exception
@jeanpul The fix was merged in master. |
Hi,
I'm trying to create a GVRCubeSceneObject with 6 textures as
GVRCubeSceneObject mCubeEvironment = new GVRCubeSceneObject(gvrContext, false, textures);
the SDK raise an exception on :
vbuf.setFloatArray("a_texcoord", SIMPLE_INWARD_TEXCOORDS);
of createSimpleCubeSixMeshes(). Looking at the vertexDesc string parameters maybe there's some missing comas between the attribute declarations ?
Here's the exception message:
java.lang.IllegalArgumentException: Attribute name a_texcoord cannot be updated
Version: 4.0.1-SNAPSHOT
Best regards,
Jeanpul
The text was updated successfully, but these errors were encountered: