Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

No Cookies on Point Lights?

Discussion in 'Editor & General Support' started by twitchfactor, Jan 23, 2011.

  1. twitchfactor

    twitchfactor

    Joined:
    Mar 8, 2009
    Posts:
    356
    I'm trying to set up a point light to cast a pattern on a room, similar to a disco ball (but not a "disco ball" :razz:), but it seems impossible.

    When I try to set a cookie for a point light, I'm kicked out of the selector and nothing is set. If I change to spot light, I can set a cookie, just fine.

    I've done a search and the only time I see cookies and point lights mentioned, seems to be in <Unity3.0.

    I'm assuming it was taken out due to some with the deferred light renderer in U3.0.

    My question is, is there any way of doing this in 3.0 without something as silly as 4 spot lights?
     
    SamFernGamer4k likes this.
  2. Bampf

    Bampf

    Joined:
    Oct 21, 2005
    Posts:
    369
    Point light cookies must be in the form of a skymap. A regular texture won't do it.
     
  3. yya

    yya

    Joined:
    Feb 11, 2013
    Posts:
    1
    Skymap texture is a material,but cookie field uses textures only.How do you add skymap texture to pointlight cookie?
     
  4. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,177
    You use a cube map.
     
    SamFernGamer4k and zakirshikhli like this.
  5. Electro3_Strike

    Electro3_Strike

    Joined:
    Nov 3, 2020
    Posts:
    5
    make it cookie texture type then point