- Home /
Black Trail Rendering in 2D game
For my 2d game I have used trail renderer but it shows black then used colour. I have used light green colour but it didn't show in game. When I run scene in unity editor it show perfect colour combination but in device it show black render colour.
My problem clearly represented in image. IPad Game Screen
Following image represent my render setting for tail Trail Renderer Setting
I think I have clearly mention my problem. If you don't understand then ask me at any time but please help me to solve this.
Are you using a custom texture for your trail renderer? I had this problem with the texture I was using for a particle system, and I had to change it to Alpha - Blended.
Using this approach I don't see any trail render on unity editor. Can I see this in actual mobile device?
Answer by siddharth3322 · Jun 11, 2014 at 02:29 AM
I have just figure out answer for this question and paste it here to help other members of community.
You have to set ambient light completely white because this is a 2d game. In render setting you found this option.
Here you have to change material shader type. To show clear trail renderer I have set it Mobile/VertextLit. After setting this as shader type my problem was resolved.
Your answer
Follow this Question
Related Questions
Terrain generation 0 Answers
Atlas size based on sprite 0 Answers
Sprite Rendering Cost Calculation 1 Answer
Background Sprite Setting 0 Answers
Jelly Object for 2D Game 2 Answers