Env projectedtexture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 2: Line 2:
==Entity Description==
==Entity Description==


[[Image:Gmbricks0051mn4.jpg|thumb|300px|Example of an env_projectedtexture in a dark map.]]
[[Image:Gmbricks0051mn4.jpg|thumb|150px|Example of an env_projectedtexture in a dark map.]]


A light emitting entity that casts dynamic shadows; similar to the flashlight.
A light emitting entity that casts dynamic shadows; similar to the flashlight.

Revision as of 22:07, 2 January 2008

Template:Wrongtitle

Entity Description

Example of an env_projectedtexture in a dark map.

A light emitting entity that casts dynamic shadows; similar to the flashlight.

This entity, when used, disables the use of your flashlight. Only use it if you do not need a flashlight at any time in your map. However, this limitation has been fixed in the latest version of Garry's Mod.

Keyvalues

<target_destination> Light target
  • lightfov
<float> Light's FOV
  • enableshadows
<boolean> Cast shadows
  • lightonlytarget
<boolean> Light only target
  • lightworld
<boolean> Light world
  • cameraspace
<boolean> Relative to player's view
  • lightcolor
#000000 Projected color

Inputs

Outputs