Jump to content
Sign in to follow this  
colonel_klink

How to get dynamic shadows from texture alpha channels

Recommended Posts

If you have a model that has both solid geometry and a texture with an alpha transparency such as a fence with solid posts and netting, you can get both to show in ArmA 2 (and 1) by using this simple method.

1. Create your fence in O2 with netting as usual ensuring the netting has an alpha channel. (Photoshop; save as 32 bit tga)

2. Create a shadowvolume lod for the post.

3. In the ShadowVolume Lod create a property called Shadow and give it's value as Hybrid. AFAIK Hybrid combines both shadowvolume and normal object shadows which incorporates the alpha textures as well. Then what do I know, I'm just a colonel... :)

Voila! It's as simple as that. Now you can create objects that have complex alpha textures and have the shadows as well

Share this post


Link to post
Share on other sites

Thanks Colonel_Klink for the nice tutorial, much appreciated.

Nice to see you in the forums also, now there is hope for ArmA 2 if OFP legends like you are returning :)

Share this post


Link to post
Share on other sites

is there any way to increase the resolution on the alpha shadows?

so they dont look like this 53258080.jpg

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×