Emission masking not working on Android device
Posted: Thu Dec 21, 2017 9:04 am
I'm currently testing on the Samsung Galaxy S5. Unfortunately, it's all I have to test. When attempting to mask emission with a gradient, it doesn't work, but it does work on PC and iOS.
Example:
The bottom image is how it appears on the Android device.
I'm basically using lerp from 1 to 0 from a point in world space to mask the emission. I'm using the same technique to create a color gradient in the albedo color, however, the albedo gradient works fine on the Android device.
Here is how my shader is set up:
My guess is the gpu on that device, simply can't handle emission masking. I can say without a doubt that it's not an issue with the values, as the same values work for the albedo gradient. I'm hoping there is something I'm missing, or there is some kind of workaround I'm not thinking of. If not it's no biggie. Any help or tips is appreciated.
Example:
The bottom image is how it appears on the Android device.
I'm basically using lerp from 1 to 0 from a point in world space to mask the emission. I'm using the same technique to create a color gradient in the albedo color, however, the albedo gradient works fine on the Android device.
Here is how my shader is set up:
My guess is the gpu on that device, simply can't handle emission masking. I can say without a doubt that it's not an issue with the values, as the same values work for the albedo gradient. I'm hoping there is something I'm missing, or there is some kind of workaround I'm not thinking of. If not it's no biggie. Any help or tips is appreciated.