About Store Forum Documentation Contact



Post Reply 
Render 3D over 2D
Author Message
neuroliquid Offline
Member

Post: #1
Render 3D over 2D
How can I render 3D objects in front of 2D fullscreen video or image? Even RT_DEFERRED clears the screen when I try to draw something over my nice background video.
Thaks for support
10-24-2017 04:09 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: Render 3D over 2D
if I remember correctly you have to use Renderer.combine
RT_FORWARD and RT_DEFERRED has nothing to do with rendering 3D ontop of 2D, just as additional information.
Code:
void Draw()
{
/*render movie

*/
Renderer.combine = true;
Renderer(Render); // draw 3D
Renderer.combine = false;
}
or something along those lines
(This post was last modified: 10-24-2017 06:35 PM by Zervox.)
10-24-2017 05:23 PM
Find all posts by this user Quote this message in a reply
neuroliquid Offline
Member

Post: #3
RE: Render 3D over 2D
Uh, I have overlooked that line in documentation. Works! But edge softening is disaster now. It blurs outline edges with black, even if I set Renderer.clear_color to white. I will try to push video into 3D scene to bypass this...


Attached File(s) Image(s)
   
10-25-2017 10:03 AM
Find all posts by this user Quote this message in a reply
Post Reply