How can I make a trasparent texture that cast shadows? (T3D)
by Oscar Velzi · in Artist Corner · 01/30/2010 (5:15 pm) · 6 replies
I'm working on some isometric 3D rpgs and I'm having a small issue with shadows. Basically, in our games, when you enter a building, the roof disappears so you can see your character inside. Since the roof is gone, the sun lighting goes through and shows that there is no roof.
http://img35.imageshack.us/img35/5786/interiorvx.jpg
The idea is to have the lighting not to affect the interiors. So one idea I had was to place a transparent plane that cast shadows in the place the roof is, not allowing sunlight to get through but being able to see the interior. There will be interior lighting provided by some point lights. Any other solution that does not involve changes to the model structure are welcome. Thanks!
http://img35.imageshack.us/img35/5786/interiorvx.jpg
The idea is to have the lighting not to affect the interiors. So one idea I had was to place a transparent plane that cast shadows in the place the roof is, not allowing sunlight to get through but being able to see the interior. There will be interior lighting provided by some point lights. Any other solution that does not involve changes to the model structure are welcome. Thanks!
About the author
Lead Artist of Iron Tower Studio
Recent Threads
#2
01/30/2010 (5:45 pm)
Thanks, but turning off all shadows is not a good solution for me. The mood they give to the exteriors is something I don't want to lose. Also, I prefer not to use lightmaps.
#3
01/30/2010 (6:55 pm)
Have a canopy floating above the camera?
#4
01/30/2010 (7:03 pm)
I don't think it would work, as the camera is not fixed, you can rotate it, and tilt it from 45º to 90º. Also, wouldn't it cast shadows outside buildings too? Thanks for the suggestion, anyway =)
#5
Edit: It just downed on me what you exactly need. :) Cookies might not be fit afterall.. I'm not sure you can do this without modifying some code.
01/31/2010 (8:29 am)
The best possible effect would be achieved with PureLight. If you don't want to use lightmaps, you could use the new 1.1 "cookies" feature or fake the shadow with a decal.Edit: It just downed on me what you exactly need. :) Cookies might not be fit afterall.. I'm not sure you can do this without modifying some code.
Torque Owner Ivan Mandzhukov
Liman3D