- Home /
Trail renderer color always black
Hey
I've been facing this annoying problem where the trail renderer's color works perfectly on the windows and shows the exact color that I implement but whenever I test on Iphone or Android the trail always goes black.
I've tried changing the material that's applied to the trail rendered and its color but still ... always appears black on iphone and android!
Any suggestions !?
Thanks
Answer by mavasher · Aug 06, 2014 at 01:18 PM
Had the same issue.
Here's the solution. It has to do with OpenGL 2.0 not accepting the shader. In my situation the shader worked fine on an object but went black on the trail renderer on multiple Android devices.
Switch the trail renderer to a "mobile" shader and it should work.
good question..!! I am Facing the same issue. any one has solution then please post answer.
Answer by bhartu · Sep 10, 2014 at 07:50 AM
Hello, I found some solution.
I have put direction light, and set TrailRenderer - shader as Self-Illumin/ defuse.
It is working at my end in device also
Answer by KBAallstar · Jul 13, 2015 at 11:58 PM
I had issues with basic materials turning black on Android. Fixed it by reducing the "smoothness" of the material to 0.5 or less. I also chose compress in ETC1 format, but I think the main issue was smoothness above 0.5. I'm using Unity 5.1.
Your answer
Follow this Question
Related Questions
Making a Touch TrailRenderer 1 Answer
Trail Renderer's colors don't apply to material 1 Answer
Trail after game object with pause/clear function 2 Answers
How do I add a date to the mobile calendar from the game? 0 Answers
Deploying to Android or iPhone device - track public variables in inspector? 1 Answer