SteamVR/Environments/lightcookies/: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Light Cookies == Image:Cookie_steamvr_tutorial.png|right|250px|thumb|Cookies are used on most of the spotlights in Valve’s summit pavilion environment, they add a subt...")
 
m (clean up, added deadend tag)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Dead end|date=January 2024}}
== Light Cookies ==
== Light Cookies ==


[[Image:Cookie_steamvr_tutorial.png|right|250px|thumb|Cookies are used on most of the spotlights in Valve’s summit pavilion environment, they add a subtle layer of realism to the scene by breaking up the uniform distribution of the spotlight.]]
[[File:Cookie_steamvr_tutorial.png|right|250px|thumb|Cookies are used on most of the spotlights in Valve’s summit pavilion environment, they add a subtle layer of realism to the scene by breaking up the uniform distribution of the spotlight.]]
 


Light cookies serve a similar usage to  
Light cookies serve a similar usage to  
[https://en.wikipedia.org/wiki/Gobo_(lighting)/ Gobos] in photography, in video games a Cookie is a projected texture from your light source, imagine it as a texture that covers the lens of your light source and effects all light that passes through.
[https://en.wikipedia.org/wiki/Gobo_(lighting) Gobos] in photography, in video games a Cookie is a projected texture from your light source, imagine it as a texture that covers the lens of your light source and affects all light that passes through.


This is used to simulate the effect that light produces when passing through different types of light fixtures. Cookies are often used to simulate IES light profiles to achieve more realistic light shapes.
This is used to simulate the effect that light produces when passing through different types of light fixtures. Cookies are often used to simulate IES light profiles to achieve more realistic light shapes.
Line 12: Line 13:
{{clr}}
{{clr}}
{{clr}}
{{clr}}
<br clear=all>
{{clr}}


= Flashlight =
<div align="center">
<gallery mode="traditional" widths=200px heights=200px>
Image:Cookie_tutorial_texture_flashlight.png|The Flashlight texture.
Image:Cookie_tutorial_example_flashlight.png|The Flashlight texture applied as a Cookie.


</gallery>
</div>


= Spotlight1 =
= Spotlight1 =
Line 64: Line 72:
It is possible that a future update may enable support for custom Cookie textures. }}
It is possible that a future update may enable support for custom Cookie textures. }}


= Usage =
To apply a Cookie texture to your spotlight, select it in hammer and find the “Light Cookie” field in the spotlights object properties. Here add the name of one of the Cookies from the list above.
[[File:Cookie_properties.PNG|right|250px|thumb|The object properties dialog box of the spotlight entity, showing where a Cookie texture is defined.]]


= Usage =
[[Category:SteamVR]]
To apply a Cookie texture to your spotlight, select it in hammer and find the “Light Cookie” field in the spotlights object properties. Here add the name of one of the cookies from the list above.
[[Image:Cookie_properties.PNG|right|250px|thumb|The object properties dialog box of the spotlight entity, showing where a Cookie texture is defined.]]

Latest revision as of 10:14, 21 January 2024

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

Light Cookies

Cookies are used on most of the spotlights in Valve’s summit pavilion environment, they add a subtle layer of realism to the scene by breaking up the uniform distribution of the spotlight.

Light cookies serve a similar usage to Gobos in photography, in video games a Cookie is a projected texture from your light source, imagine it as a texture that covers the lens of your light source and affects all light that passes through.

This is used to simulate the effect that light produces when passing through different types of light fixtures. Cookies are often used to simulate IES light profiles to achieve more realistic light shapes.

Bellow is a list of the currently available Cookies in SteamVR Home, there texture and their usage ingame.

Flashlight

Spotlight1

Spotlight2

Spotlight3

Spotlight4

Spotlight5

Note.pngNote: In SteamVR Home you are currently limited to use the default set of Cookie textures. It is possible that a future update may enable support for custom Cookie textures.

Usage

To apply a Cookie texture to your spotlight, select it in hammer and find the “Light Cookie” field in the spotlights object properties. Here add the name of one of the Cookies from the list above.

The object properties dialog box of the spotlight entity, showing where a Cookie texture is defined.