- Home /
Creating a billboarding surface shader
Hey,
I've been trying to create a billboarding surface shader. I know the billboarding needs to occur on the vertex shader level of the whole shader. But I can't seem to figure out how to set it up. I've tried incorporating a lot of things I've found on these forums and answers, but no luck whatsoever... Does anyone have any thoughts on this?
Thanks!
Answer by Julien-Lynge · Jan 30, 2013 at 03:12 AM
Have you looked at the WikiBooks intros to Cg and GLSL for Unity? They have examples of billboarded shaders in both those languages:
http://en.wikibooks.org/wiki/GLSL_Programming/Unity/Billboards
http://en.wikibooks.org/wiki/Cg_Programming/Unity/Billboards
Your answer
Follow this Question
Related Questions
Problem with unity tree billboarding 0 Answers
Shader issues when trying to fade between two tiles using a mask 1 Answer
Control cubemap reflection amount from metallic and smoothness properties 0 Answers
Need help with Oren-Nayar lighting model. 2 Answers
Prevent ColorMask obscuring parts of an object's mesh 0 Answers