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 

How to make shadows thru windows

 
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
trucker2000
DeleD PRO user


Joined: 11 May 2005
Posts: 1839
Location: Sacramento, California

PostPosted: Tue Nov 22, 2005 9:19 pm    Post subject: How to make shadows thru windows Reply with quote

What I would like to know is how to make my window cast a shadow like this one:
http://g2.3dcentral.net/main.php?g2_view=core.ShowItem&g2_itemId=327 (from this forum somewhere but can't find it at the moment.)

Here's how mine looks:
http://g2.3dcentral.net/main.php?g2_view=core.ShowItem&g2_itemId=329
The light is shining thru the glass, but do I need to make the letters in the words darker in order for them to show on the ground??
I have my intensity setting at 300.
Lightmap size is 1024
_________________
Some day I will grow up and be a real modeler.
"Never give up! Never surrender!!"
Sys specs:
asus
8 gigs ram
Invidia gtx560 video card
Windows 8 (worst op sys Ever)
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: Wed Nov 23, 2005 7:29 am    Post subject: Reply with quote

It's a good question, this behaviour has been slightly changed as per DeleD 1.34: the intensity of the color of the letters does not affect the shadow, it only affects the color of the shadow. The amount of light let through is influenced by the alpha layer. In other words, you have two options:

1. mark the letters out on your alpha channel, giving them a (much) bigger alpha value than the rest of the glass. This would definitely be your best bet. The alpha of the letters in the example screenshot is 255.

2. give the letters a distinct hue from the rest of the glass. This won't change the amount of light passing true, but it will give the light a different color.

Note: from the screenshot, it looks like those letters are fairly detailed. Keep in mind that any lightmap has a relative low resolution, so if you want to be able to actually read the letters in the shadow you'll need either very high lightmap settings or a very simple outline for your characters.
Back to top
View user's profile Send private message Visit poster's website
trucker2000
DeleD PRO user


Joined: 11 May 2005
Posts: 1839
Location: Sacramento, California

PostPosted: Wed Nov 23, 2005 2:12 pm    Post subject: Reply with quote

Ok, thankyou.
I redid the texture and it's working now. Smile
http://g2.3dcentral.net/main.php?g2_view=core.ShowItem&g2_itemId=337
I'll get it finished up and looking better.
_________________
Some day I will grow up and be a real modeler.
"Never give up! Never surrender!!"
Sys specs:
asus
8 gigs ram
Invidia gtx560 video card
Windows 8 (worst op sys Ever)
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: Wed Nov 23, 2005 7:38 pm    Post subject: Reply with quote

Ah, good work Trucker! I think you meant this image though:

http://g2.3dcentral.net/main.php?2_view=core.ShowItem&g2_itemId=349

Love your galleries Smile
Back to top
View user's profile Send private message Visit poster's website
trucker2000
DeleD PRO user


Joined: 11 May 2005
Posts: 1839
Location: Sacramento, California

PostPosted: Wed Nov 23, 2005 8:34 pm    Post subject: Reply with quote

Oops. You are correct.
the one I linked to is as seen in Irrlicht. The one you linked to (the proper one) is as seen in deled.

Thanks. I really need to clean it up. Too many pics of the same thing in too many different galleries.
_________________
Some day I will grow up and be a real modeler.
"Never give up! Never surrender!!"
Sys specs:
asus
8 gigs ram
Invidia gtx560 video card
Windows 8 (worst op sys Ever)
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