hello i have a cross in the centre this cross must have as texture the background of it but then negative minecraft has this to the cross in the centre has as texture the background of it but than negative. Please help me.
Rick Grendel
thank you in advance
You could possibly write a little shader which handles this case (theory below).
- Render your screen into a frame buffer (render buffer)
- Render the crosshair with a second camera - the shader needs the rendered scene as a texture input, inverting or finding the compliment colour where your crosshair sprite has a specific color (white, for example) and returning the already rendered colour everywhere else.
This would require A Unity Pro license since free does not support rendering to texture.
P.S.: Read this for complementary colours.