x


Terrain Shading

Okay, this is tricky to explain. If it's possible, I want to be able to have the Terrain Lighted, but not shaded as if it had no normals. I'll have some links to the Terrain Shaders if anyone is willing to help me figure this out. I am hardly mediocre at scripting Shaders, so if anyone would bare with me and figure this out along with teaching me some stuff along the way, it would be highly appreciated.

If you've seen the Toon/Basic Shader, than it's similar to that except Lighted. So in that case, I guess "I want a Lighted Toon Shader Without The Ramp For Terrain". Oh god, I am not getting an answer for this, am I?

TERRAIN 1: http://pastie.org/3258582

TERRAIN 2: http://pastie.org/3258583

more ▼

asked Jan 26 '12 at 08:13 PM

Xatoku gravatar image

Xatoku
152 73 81 88

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I don't think you need to write shaders to do this. Just assign your terrain to a different layer, and set the culling mask for your directional light not to illuminate this layer.

more ▼

answered Feb 03 '12 at 01:22 AM

DanSimkin gravatar image

DanSimkin
1

If I do that it disables shadows though =/.

Feb 04 '12 at 09:32 PM Xatoku
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3340
x1667
x1478
x427
x38

asked: Jan 26 '12 at 08:13 PM

Seen: 1318 times

Last Updated: Feb 04 '12 at 09:32 PM