Hello there. I’m hoping I can find a push in the right direction with an odd problem I seem to be having. I had an “item examination” set up on 5.0.3 and it was working as expected, a camera renders an object into a material and you can “inspect” the item… like so…
I investigated for a while and discovered that for some reason, my previous implementation for viewing the item and ignoring the background and making it transparent no longer works…
I can see that the item is definitely in front of the camera, because if I remove the “OneMinus” (which previously worked in 5.0.3), the item renders, but it does not make the black transparent like it used to…
Am I missing something here? Is it really the upgrade to 5.1 that caused this? Is it an error? Or is there something else I could have accidentally changed?
I think it might just be a bug in 5.1 the alpha channel in the render target texture is flooded with white compared to a working cutout in previous versions. So scene capture 2d might not have the correct cut off values when capturing the information. Perhaps they changes something with the depth buffer that broke it?
Seems like I can get it working in Standalone Game but the RT texture is full transparent in pie and in viewport.
Had to switch the material from masked to translucent for it to start registering. Not ideal because it’s a larger performance hit
Hi Raven. Cheers for looking at that. Translucent doesn’t work for me, I just get nothing. Using masked shows the static mesh, but it always has a black background
Got you, this did work. I suppose that’s fine then as long as it works when the game is packaged! Although it makes debugging a bit more of a pain. Do you think Epic will register this as a bug?
If people are having problems with a Capture 2D Texture Target turning black when pushing play (simulate, viewport and pie), I fixed it by going to Scene Outliner, select the 2D Capture Cam Component, and in the details, I switched from Composite Mode ‘Overwrite’ to ‘Composite’ and now it works for me the way it used to…
My scenecapture instead is working but showing grooming assets black (as materials seems to not render correctly, no matter what material I put there), any tips?