x


Terrain Textures Shift (Summer/Winter)

Hi, I'm trying to make a shift between summer textures and winter textures on the terrain. The question is; what would be more efficient? Shifting the textures of the terrain or create a second terrain with those and then shifting the terrain themselves?

If I should change the terrain textures, is there a way to make a fading? As far as I know the terrain does not have many shader options, i don't know if fading is posible.

Any help is welcome, all I want is winter/summer change. If anyone got any idea of how this could be done it would be very helpful.

Thanks.

more ▼

asked Aug 18 '12 at 09:31 AM

SuIXo3 gravatar image

SuIXo3
36 6 11 15

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

2 answers: sort voted first
more ▼

answered Aug 18 '12 at 10:19 PM

ScroodgeM gravatar image

ScroodgeM
7.6k 2 6

I'll check it out thanks. Seams to be pretty much that. So "getAlphamaps" and "set" allows you to change alpha value on each point of the terrain's grid right? While at minimum, textures are switched so the seam isn't seen.

Aug 19 '12 at 10:28 AM SuIXo3

you can change alphas as you wish. seams will looks good if you pre-paint terrain smoothed. you can just improve this solution a little to save smoothed alpha values.

Aug 19 '12 at 01:22 PM ScroodgeM
(comments are locked)
10|3000 characters needed characters left

You could change the material using Lerp function to fade it.

More help and examples Here in documentation of Material.Lerp.

more ▼

answered Aug 18 '12 at 02:02 PM

J.D. gravatar image

J.D.
116 1 2

Yes but the terrain does not use standard materials right? It just needs a texture. Can I do a texture Lerp? Is alpha available for terrain?

Aug 18 '12 at 04:30 PM SuIXo3

No, also material lerp just interpolates the material properties (color, offset, ...). Textures can't be interpolated with this function

Aug 18 '12 at 08:45 PM Bunny83
(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:

x1478
x391
x380
x189
x27

asked: Aug 18 '12 at 09:31 AM

Seen: 509 times

Last Updated: Aug 19 '12 at 01:22 PM