Jump to content

Shadows from Alpha textures in Source?

Recommended Posts

Hey guys,

I've beeen playing witht he ep2 engine recently and am trying to get alpha textures working. So far I added the following to the $light compile parameter


-final -staticproppolys -staticproplighting -textureshadows

Seems to activate per vertex lighting and shadows etc but for some reason it does not like my alpha texture and just casts a shadow for the whole polygon instead!

Anyone had this problem before or know where im going wrong?

Link to comment
Share on other sites

Actually there is raytracing through alpha take a look at the image below. When I compile lighting with an episode 2 prop in there, VRAD displays the messege:

Loaded alpha texture materials\models\props_foliage\arbre01.vtf

and as you can see you get lovely alpha shadows.

The problem Im having now is figuring out what the hell I have to do to get it working with my props/textures...

Link to comment
Share on other sites

  • Mapcore Supporters

    Our incredible Patreon supporters keep Mapcore's lights on. If you'd like to donate, check out our Patreon announcement.

    Note: This is brand new! The format will be tweaked and rolled out to more pages soon.

  • Create New...