I am making a panoramic render from a scene in Unreal. I have captured the necessary cubes to render the image but I want to add collision detection and for this I need to capture some collision areas as pure colour images.
I am able to use a CaptureComponent2D to capture just the collision areas but I can’t seem to avoid shading. What I’ve done is create an instance of a material and set its colour to be based on the index of the collision shape, I then render this with the CaptureComponent2D but the resulting images aren’t the pure colour I am looking for. Is there a way I can just write a pure colour to the render texture so that my indexes end up in the output image?