Switchable Shadows Examples

Half-Life HL
Switchable Shadows Examples by The Mad Carrot
Posted 1 year ago2023-08-15 22:36:12 UTC • Examples • Half-Life
Loading...
Screenshot Thumbnail
Screenshot Thumbnail
Name
Switchable Shadows Examples
By
The Mad Carrot The Mad Carrot
Type
Map
Engine
Goldsource
Game
Half-Life
Category
Examples
Included
BSP, RMF/VMF
Created
1 year ago2023-08-15 22:36:12 UTC
Updated
1 year ago2023-08-15 22:36:12 UTC
Views
804
Downloads
275
Comments
0

This map demonstrates three different examples on how to implement switchable shadows:

1. A piece of rubble casting a shadow. The rubble is a func_breakable entity and can be destroyed with the provided crowbar. When destroyed, the shadow that the rubble was casting will disappear.

2. A toggle-able func_wall_toggle. Hit the button to make the wall disappear and reappear. In the process, the shadow from the wall will disappear and reappear as well.

3. A lab door with a window. Hit the button to open/close the door. At first the door will block the light and cast a shadow. When the door starts opening, the shadow will disappear. When the door is fully closed, the shadow will reappear.

Comments

You must log in to post a comment. You can login or register a new account.