Shaders look different on Android devices only
This issue is most likely caused by WebGL precision issues.
The use of functions like normalize
, length
, distance
, dot
in your shader might return inaccurate results on Android devices if provided parameters are defined as half or fixed.
Possible solution:
- The issue can be fixed by using
float
instead.