Displaying render texture with semi transparency
I have a drawing app that uses Vectrosity to draw lines. A camera then takes these lines and then converts them to a texture so that more operations can be done on it. It works fine with solid colors, but with semi transparent colors it behaves weirdly.
When I commit the line into a texture, the camera that is looking at the Vectrosity lines takes the image into a render texture and then this is applied onto a Raw Image component. Every time this happens, the alpha value of the texture reduces until the semi transparent part doesn't exist anymore. This doesn't happen with fully transparent colors(you can't see anything anyways), or fully opaque colors.
Before Committing
After Committing
After multiple commits, the grey part goes away completely, leaving just the fully opaque black part remaining.