Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Light Through Transparency?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
zea
Member


Joined: 08 Feb 2006
Posts: 6

PostPosted: Wed Sep 20, 2006 7:13 pm    Post subject: Light Through Transparency? Reply with quote

Is there a way for light to travel through a transparent block? I have the block with a transparent .tga file, and that works fine. However, when I shine a directional light through it, the other side (inside the room) is still dark. How can I achieve this? Thanks,

Zea
Back to top
View user's profile Send private message Visit poster's website
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Thu Sep 21, 2006 6:21 am    Post subject: Reply with quote

Hi Zea,

Here is a little test I did:
1. Draw rectangle. Assign white texture.
2. Draw cube. Assign transparent TGA texture (make sure to set material blendmode to alphablend).
3. Add directional light. Set intensity to 200 (the light is at an angle to the floor which makes it less bright, hence I boosted it a bit)

Here is there result (the 'double' shadow of the characters is caused by the lightmapper taking the logo on both the front and back of the cube into consideration):



Hope that helps! Smile

If not, could you provide a little bit more info on your particular problem? Am I doing something slightly different? Was your light bright enough? Was the texture transparent enough?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum