Scenario:
(forward rendering, 4.23)
Make a new level.
Add a SceneCapture2D Actor, source = "SceneColor (HDR) in RGB, Inv Opacity in A"
Create and assign a render target for the capture actor to use.
Aim the SceneCapture2D at a plane mesh which uses a AlphaComposite (or Translucent) material which outputs interesting alpha.
For clarity, use the SceneCapture2D's "Show Only Actors" list to see only the test plane.
No need to run the game, just do:
Disable separate translucency via cmd: "r.SeparateTranslucencyScreenPercentage 100"
Observe render target: capture has an interesting alpha channel.
Enable separate translucency via cmd: "r.SeparateTranslucencyScreenPercentage 50"
Observe render target: capture has a solid alpha channel.
https://gyazo.com/ebf7d5872a3c9f9dbaa1cf7348b2aafd
Any insights? THANK YOU
(forward rendering, 4.23)
Make a new level.
Add a SceneCapture2D Actor, source = "SceneColor (HDR) in RGB, Inv Opacity in A"
Create and assign a render target for the capture actor to use.
Aim the SceneCapture2D at a plane mesh which uses a AlphaComposite (or Translucent) material which outputs interesting alpha.
For clarity, use the SceneCapture2D's "Show Only Actors" list to see only the test plane.
No need to run the game, just do:
Disable separate translucency via cmd: "r.SeparateTranslucencyScreenPercentage 100"
Observe render target: capture has an interesting alpha channel.
Enable separate translucency via cmd: "r.SeparateTranslucencyScreenPercentage 50"
Observe render target: capture has a solid alpha channel.
https://gyazo.com/ebf7d5872a3c9f9dbaa1cf7348b2aafd
Any insights? THANK YOU
Comment