How can I prevent to colors from mixing? I need different Colors, because i want to blend different Terrain Textures based on what color a certain pixel is.
Basically I want to use the Render Target as a ID Map.
Your material is set to additive. Of course the colors will mix, that’s the entire point of additive: it adds the color to the exiting color value. If you are writing an ID map, using any sort of color blending makes no sense whatsoever.
Hey man, I don’t if you’re still struggling with your issue, but just in case, I found this tutorial which really helps me when i had kind of the same issue as yours, so here it is :
Edit :
Unlike in the tutorial, set the Material domain to Alpha composite instead of translucent, it works the same but you can add some fall off and gradient effect on your brush, wich is not possible with translucent mode (with it you’ll get ugly overlapping shapes)