- Home /
Shader display different colors on Editor vs Android
Hi.
I use a shader in my project for a slight color correction, it works just fine in the Editor. though in my phone (Android build) every white pixel/fragment turns yellow.
The shader simply convert colors from RGB to HSV, change some values and convert back. If it works in the Editor i suppose it should work in the build as well. I'm guessing the problem has something to do with Android.
If you think that seeing my code might help feel free to ask.
Could you show the shader code, of how you are converting the colours? here is a working solution https://forum.unity.com/threads/hlsl-rgb-to-hsv-controls-working.520915/
Answer by jeromeatunity · Jul 20, 2020 at 10:48 PM
You can deploy a debug build to your android device. Then use the Frame Debugger to connect to that application. That might help in seeing what's the issue: https://docs.unity3d.com/Manual/FrameDebugger.html
You can also see if there are errors in the device logs using the Android Logcat package: https://docs.unity3d.com/Packages/com.unity.mobile.android-logcat@0.1/manual/index.html
Your answer
Follow this Question
Related Questions
Getting transparency issue on android build 1 Answer
Shader.Parse processing shaders that are not included in build 0 Answers
How to resolve UnauthorizedAccessException 0 Answers
How to Make the colors separate from this sprite like in the original game. 1 Answer
Missing Input System and Shaders 1 Answer