Skip to content
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

ERROR: 0:107: 'color' : undeclared identifier #1

Open
sops21 opened this issue Aug 25, 2021 · 2 comments
Open

ERROR: 0:107: 'color' : undeclared identifier #1

sops21 opened this issue Aug 25, 2021 · 2 comments

Comments

@sops21
Copy link

sops21 commented Aug 25, 2021

I tried to use this material, but I'm getting the following error:

ERROR: 0:107: 'color' : undeclared identifier
ERROR: 0:107: 'texture2D' : no matching overloaded function found
ERROR: 0:107: 'rgb' :  field selection requires structure or vector on left hand side
ERROR: 0:107: '=' : dimension mismatch
ERROR: 0:107: '=' : cannot convert from 'const mediump float' to 'highp 3-component vector of float'
ERROR: 0:108: ';' : syntax error

Any ideas or thoughts?

@Olm-e
Copy link
Owner

Olm-e commented Aug 31, 2021

hi
not sure about this,
it was done earlydays with aframe, hacking code together more than anything else ...
I would rather see alpha as a base component of aframe instead like in aframevr/aframe#3359

check the version maybe ? or try the non minified .js ... ? ?

(it looks it's still working with my old test samples here, using the plain .js file and aframe 0.7 on firefox ... )

@sops21
Copy link
Author

sops21 commented Sep 1, 2021

Is there anyway you can share those test samples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants