|||| 8 - 15 nov 2014 ||||
7DFPS ...
Unity help required
I need some help, maybe any off you know what's going on? I got some text-renderers with a font-material that has a custom shader to allow for 3d text (so it does not show behind my gun). For some reason though the uv's seem to be messed up unless I make the area lighter. Anyone has any idea what's going on? Here's a link to the shader I'm using: http://pastebin.com/2K6DmxxE
liked by monoRAIL
XRA says...
you might be missing the first pass of the font shader, take a look at the unity built-in shader source code (download them here) http://unity3d.com/unity/download/archive The Font.shader has 2 passes, the first pass seems to set uv coordinates and the second pass looks similar to what you have. I'd suggest just copying/pasting the original font shader in a new shader and modify it from there... if u did that already then i'm not sure :
SojaBird says...
Hey thanks :) I asked some people on facebook as well and it appeared that I needed to bind both Vertex and textcoord as well instead of only the Color. Link to fully working shader here: http://pastebin.com/VfaDpqdH
7DFPS brought to you by Sven Bergstrom & Sos Sosowski & Jan Willem Nijman | Logo by Cactus Follow news and info about 7DFPS on twitter Games hosted on itch.io