Screenshot with customdepth as alpha, In Shipping build (C++)
Hi, I am trying to recreate an editor-only function (HRSS) for a shipping version of the project. The following code functions during PIE but not when packaged.
This is probably because of the #if WITH_EDITOR condition in HighResScreenshot.cpp on line 46 which uses some editor only classes/material to create and merge the mask which is generated in the custom depth buffer.
So is there a way around this without modifying the engine? Or do I need to recreate most of the functionality to get it working in the client. I am hoping it possible to access the render buffer to get the customdepth pass and pass it into the highres screenshot class when it comes to merging the two textures together
Follow this question
Once you sign in you will be able to subscribe for any updates here