From Valve Developer Community
Jump to: navigation, search

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 effects 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.







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


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.