Func reflective glass: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(→‎Entity description: Just tried it with water, worked fine. Also had 3 mirrors on that screenshot, worked perfectly.)
Line 2: Line 2:
[[Image:Reflectiveglass0000.jpg|thumb|func_reflective_glass (Note how NPC's and env effects are reflected)]]
[[Image:Reflectiveglass0000.jpg|thumb|func_reflective_glass (Note how NPC's and env effects are reflected)]]
A [[brush entity]] entity used to produce perfectly reflective glass that renders world + entities. You must use a reflectiveglass texture (glass/reflectiveglass001.vmt is a good start) on one side of the brush, and the rest of the sides nodraw textured for this to work properly.
A [[brush entity]] entity used to produce perfectly reflective glass that renders world + entities. You must use a reflectiveglass texture (glass/reflectiveglass001.vmt is a good start) on one side of the brush, and the rest of the sides nodraw textured for this to work properly.
{{note|Currently, you cannot use reflective glass in scenes with water, and you can only have 1 reflective glass in your view ( + pvs ) at a time.}}


== Keyvalues ==
== Keyvalues ==

Revision as of 09:11, 10 May 2008

Entity description

func_reflective_glass (Note how NPC's and env effects are reflected)

A brush entity entity used to produce perfectly reflective glass that renders world + entities. You must use a reflectiveglass texture (glass/reflectiveglass001.vmt is a good start) on one side of the brush, and the rest of the sides nodraw textured for this to work properly.

Keyvalues

<float> The minimum level of ambient light that hits this brush.
  • Solidity
<choices> Used to control the solidity/collision of these brushes.
Literal Value Description
0 Toggle
1 Never Solid
2 Always Solid
  • solidbsp
<boolean> Set this if this brush is in hierarchy with a moving object of some kind, and the player can stand on this brush.
  • excludednpc
<target_destination> If an NPC classname (i.e. npc_zombie) is specified here, NPCs of that type won't collide with these brushes.
<boolean> If set, then the excluded NPC class will consider this brush solid, and all other NPC classes will consider it non-solid.

Flags

  • 2 : Ignore player +USE

Inputs

Set excludednpc
Set invert_exclusion

Outputs