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

no default precision defined for variable 'vec2[4]' #36

Open
jaymaycry opened this issue Oct 16, 2024 · 4 comments
Open

no default precision defined for variable 'vec2[4]' #36

jaymaycry opened this issue Oct 16, 2024 · 4 comments

Comments

@jaymaycry
Copy link

Getting this error on Android phones (Xiaomi and Samsung):

THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false

Material Name: 
Material Type: ShaderMaterial

Program Info Log: invalid shaders

0:99: S0032: no default precision defined for variable 'vec2[4]'

Anyone else having this issue?

@N8python
Copy link
Owner

What version are you using?

This is fixed as of the latest N8AO:
highp vec2[4] uvSamples;

@jaymaycry
Copy link
Author

└─┬ @nnt/[email protected] -> ./game
└─┬ @react-three/[email protected]
└── [email protected]

@jaymaycry
Copy link
Author

Was testing it on a samsung galaxy S10 but it didn't work on a Redmi Note 11S as well

@N8python
Copy link
Owner

React three post processing has a variety of issues w/ updating N8AO.

See: #32

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