How come when I apply Toony - BasicOutline to a sphere the outline doesn't work when in an Orthographic?
Anyone know how to get it to work in an Orthographic?
asked Oct 15 '10 at 02:41 AM
It should work in both the Orthographic and Perspective cameras if you change the vertex program to something like:
The problem with the old version is that the position was being adjusted in camera-space and The projected normals don't behave the same in orthographic projection as they do in perspective projection. The simple workaround used here is to add the outline in world-space and then project to camera space.
answered Oct 15 '10 at 09:26 PM