Create Static Texture from Render Target Not Working

I’m using a Scene Capture Cube along with a Cube Render Target in order to fake some reflections in a demanding scene. I’d like to create a static texture from the Render Target so that I can avoid needing to update the capture cube every time I open the project.

When I right click on the Cube Render Target in the content browser and choose “Create Static Texture”, absolutely nothing happens. I’m not sure if a static image is being created and placed in some other location or if this is a bug. Is there some kind of Output Log for actions performed in the Content Browser?

Thanks.

2 Likes

Moved to Bug Reports because it seemed more appropriate.

My mistake. The render target image size had to be a multiple of 512 to create a static texture. Would be nice to have an error message there though instead of having nothing happen.

3 Likes

But this doesn’t work if you change the Render Target Format. I changed it to RTF R16F and can’t create a static texture with these settings.

Thank you very much. This comment ended a 4h debugging journey for me.
There should really be an error message with this function

1 Like

Have the same problem and changing format or multiple doesn`t help, still happen nothing. How the render target should be set to make creating static texture work?

In the format of the texture you need to specify the size multiple of 16 (not necessarily 512)

I’d like to add, from my own experience, that it also only seems to work if the size is square? I tried a rectangular multiple of 512 (or 16 per other answer) and it still did not generate. Switched to a square aspect ratio and it did. Using a 2D render fyi.

hey doesnt need to be square just make sure the image is in 16 bit else it doesnt work in low end systems. mine was fixed by that. cheers!!