I am making a dark forested area with deep shadows but the shadow caulk is solid and players can't walk through it. I am using full sunlight lighting for my skybox so how do I build this.
I want the player to walk inot and out of the bright sun.
Thanks
Dark Forest
Moderator: Moderators
-
Obergefreiter
- Private
- Posts: 8
- Joined: Thu May 08, 2003 8:38 pm
Entity
Turn it into a Script_object entity and checkmark the "NOT_SOILD" box. You will probably loose the shadow effect when inside the brush. So, it might be better to just make shadow caulk disks about halfway up each tree.
Make a new shader.
textures/ratest/ra_shadow
{
qer_editorimage textures/ratest/ra_shadow.tga
qer_keyword utility
qer_keyword ra
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm castshadow
surfaceparm nomarks
surfaceparm nolightmap
}
the name ra_shadow is changeable
for the ra_shadow.tga you can use any image really.
I use this myself, so i know it works.
textures/ratest/ra_shadow
{
qer_editorimage textures/ratest/ra_shadow.tga
qer_keyword utility
qer_keyword ra
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm castshadow
surfaceparm nomarks
surfaceparm nolightmap
}
the name ra_shadow is changeable
for the ra_shadow.tga you can use any image really.
I use this myself, so i know it works.
Looking for a good game? Play GO the ancient asian game of strategy.
