On PC the shader is working fine, but I get this error when running it on Android:
What could be causing this?
"screenW" is an extern variable, but after changing it to a regular one, the same error came up with other extern variables.Shader not working on Android
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Shader not working on Android
It sounds like you're initializing your uniforms, but you're not allowed to. So instead of
just write
Code: Select all
extern float screenW = 50;
Code: Select all
extern float screenW;
Who is online
Users browsing this forum: Google [Bot], slime and 189 guests