> #declare CamDir=vnormalize(TestPos-CamPos); > #if(vdot(CamDir,N)>cos(radians(MaxAngle))) > //put grass here > #end BTW shouldn't that be #if(vdot(CamDir,N)<cos(radians(MaxAngle))) ? Mick
Post a reply to this message