- Home /
Problem is not reproducible or outdated
More then 4 Terrain Texures = Pink Terrain
Hey guys, i have an critical problem. Im using unitypro demo and some assets. so if i add more then 4 textures to the terrain editor the close rendered terrain gets pink.
It doesnt depend on which texture i add or in which order. with 5+ textures everything is pink.
I hope you have a solution for this bug.
Thank you^^
What graphics card do you have? When stuff goes magenta it normally means your graphics card can't handle the shader program that's trying to run on it. I believe splat maps are encoded as Vector4's, so trying to add a fifth texture would spill over into a whole extra Vector4, and it sounds like your card might have hit its instruction limit.
Unity's terrain drawer does go in groups of 4 (based on how they are shown in the Terrain editor.) 1-4 use the FirstPass terrain shader, while 5-8, 9-12 ... use the AddPass terrain shader.
i7 3770k 8gb rip jaws and hd7970ghz xfx. i downloadet the pack with the addpass.shader but how can i attache it?
Unity comes with the FirstPass and AddPass shaders (but hidden.) So out of the box 5+ terrain textures should work fine.
But, it's possible some Terrain Asset you've grabbed might have had a bad AddPass shader (you'd see it under Shaders, in Assets.)
i have addpass in hidden. but it still doesnt work :3