Func reflective glass: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (further tidy but still not there: needs to be completed (marked as stub))
mNo edit summary
Line 1: Line 1:
{{stub}}
{{stub}}
{{wrongtitle|title=func_reflective_glass}}
{{wrongtitle|title=func_reflective_glass}}
{{base_brush}}<!-- At least in TF2... I don't know if it's functional in more games ... ? -->


== Entity description ==
== Entity description ==
A [[brush entity]] entity used to produce perfectly reflective glass that renders world + entities.
A [[brush entity]] entity used to produce perfectly reflective glass that renders world + entities.


Typically, you want your glass brush to have nodraw on all non-reflective surfaces and you want to use a shader like lightmappedreflective in your material applied to the non-nodraw surfaces.
* Typically, you want your glass brush to have nodraw on all non-reflective surfaces and you want to use a shader like lightmappedreflective in your material applied to the non-nodraw surfaces. See <code>hl2/materials/glass/reflectiveglass001.vmt</code> for an example.
 
* [http://forums.facepunchstudios.com/showthread.php?p=8090914 FacePunch Forums: examples of func_reflective_glass usage  Warning: BIG screenshots!]
'''See''' hl2/materials/glass/reflectiveglass001.vmt for an example.


{{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.}}
{{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.}}
== Availability ==
{{in game|brush}} {{game|TF2}} <!-- At least in TF2... I don't know if it's available in more games ... ? -->
== External links ==    <!-- only for initial reference...can be removed  -->
* [http://forums.facepunchstudios.com/showthread.php?p=8090914 FacePunch Forums: examples of func_reflective_glass usage  {{warning|BIG screenshots}}]
[[Category:Entities]]
[[Category:Brush Entities]]

Revision as of 12:03, 12 April 2008

Stub

This article or section is a stub. You can help by expanding it.

Template:Wrongtitle Template:Base brush

Entity description

A brush entity entity used to produce perfectly reflective glass that renders world + entities.

Note.pngNote: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.