- Home /
Question by
IsaacTenga · Jan 06, 2014 at 06:32 PM ·
colorgrasslines
Hot to create the yard lines on a football field?
I'm trying to create a Unity football game, and I wanna know how do I create the yard lines on the field?
Comment
Answer by Kiloblargh · Jan 06, 2014 at 09:59 PM
Well, once you have your grass shader working, you can modify the CG fragment program to blend the output color of the grass based on its world z position (-100 to 100) and vertex local y coordinate. Good luck...
Your answer
Follow this Question
Related Questions
Why does the grass change color by default? 5 Answers
grass animation changing color 2 Answers
Weird lines on the grass texture 0 Answers