Env projectedtexture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 5: Line 5:
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 Source 2 version of [[Garry's Mod]].
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 Source 2 version of [[Garry's Mod]].


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


==Keyvalues==
==Keyvalues==

Revision as of 22:04, 2 January 2008

Template:Wrongtitle

Entity Description

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 Source 2 version of Garry's Mod.

Example of an env_projectedtexture in a dark map.

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