Beam reflector - dvdvideo1234/LaserSTool GitHub Wiki

Description

This entity is designed to reflect a laser beam. Reflection and refraction are triggered on change of material boundary, so you can easily swap the materials around to produce reflective or refractive surface base on the trace hit texture.

reflector

Turning the entity ON / OFF

This entity does not have such property. It is just a physics prop having with a reflective material on top. You can modify its reflection ratio by applying a new texture, modify internal configuration with right click edit or wire the Ratio port. When the internal values are zero the entity uses the ratio form the material, otherwise it uses the internal value.

Calculating output beam

The output beam direction will be changed when the reflective or refractive material is hit. The visuals ( texture, sounds, color, flags etc. ) will be taken from the beam source entity of the current hit report. The reflector can process many beams at the same time.

Wire behavior

The wire port when connected overrides the internal value with priority no natter of the value being passed. That way you may set the internal to non-zero, and connect the wire port to zero. The entity will use the wire port. When both internal and port are zero the entity will fill the ratio from the texture applied.