- Home /
Parse Error on OutlinedDiffuse Shader
Hello,
I'm trying to use the OutlineDiffuse shader in my game project. I have no experience/knowledge about shaders. I'm using the shader in the wiki:
http://wiki.unity3d.com/index.php?title=OutlinedDiffuse
The problem is, when I copy and paste this into a new Shader script, I get this error message:
Shader error in '': Parse error: syntax error at line 5
Any ideas on why? Thanks in advance
Some of the code on that wiki is a bit out of date, like the use of glstate. When you import the code unity should update it, but then the error is a little more complicated than that, (it's a problem with the float3x3 casting). I'm having a go at correcting it, but so far I can get it compile but not give the right effect...
Your answer
Follow this Question
Related Questions
Outlined Specular shader? 0 Answers
Silhouette Toon Shader 0 Answers
CG Shader Properties Parse Error 1 Answer
Outlined Shader Shadows 1 Answer