- Home /
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.
Answer by J.D. · Aug 18, 2012 at 02:02 PM
You could change the material using Lerp function to fade it.
More help and examples Here in documentation of Material.Lerp.
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?
No, also material lerp just interpolates the material properties (color, offset, ...). Textures can't be interpolated with this function
Answer by ScroodgeM · Aug 18, 2012 at 10:19 PM
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 $$anonymous$$imum, textures are switched so the seam isn't seen.
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613075835im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Slowly fade texture only when when looking up? 1 Answer
Having problems with Gaia Spawners 2 Answers
Just started, would like to ask some questions 0 Answers