I created a shader which works fine on the simulator and on the playground but not working on device. It shows the gradient background but not the stars…
As Rob says, you’re probably low on precision. If so, then those 415 values are probably getting snapped to 256 and you’ll never get a fraction, much less two that sum to .97 or more.
As Rob says, you’re probably low on precision. If so, then those 415 values are probably getting snapped to 256 and you’ll never get a fraction, much less two that sum to .97 or more.