Horde3D

Next-Generation Graphics Engine
It is currently 17.05.2024, 14:26

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 29.08.2008, 21:44 
Offline

Joined: 15.06.2008, 11:21
Posts: 166
Location: Germany
Is there any way to render into a texture keeping the area transparent where nothing has been rendered? If not, where are the places where this should be implemented?


Top
 Profile  
Reply with quote  
PostPosted: 30.08.2008, 01:03 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
phoenix64 wrote:
Is there any way to render into a texture keeping the area transparent where nothing has been rendered?
Make sure the texture is cleared with an alpha of 0.0 (the default) before rendering to the texture, and then use alpha blending when using the texture in the scene.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group