Announcement

Collapse
No announcement yet.

Lighting question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lighting question

    Hi! When I put an object in my scene it looks good and all, but when I mess with some of the lighting settings (specifically 'Use precomputed shadows') it causes the object to go black and receive not lighting. The only way to fix it is to delete the object and put it back in the scene. It's not a huge deal but it would be nice if I knew how to fix it.

    #2
    I'm guessing it's a static mesh right? Do you have lightmap UV's applied? If there's overlapping in the UV's then you need to have another set of UV's generated just for the lightmaps, otherwise it doesn't render the shadows right. Also make sure the lightmap resolution for that object is set to a good size, by default it's 32 which is way too small.

    Comment


      #3
      I'm guessing it's a static mesh right? Do you have lightmap UV's applied? If there's overlapping in the UV's then you need to have another set of UV's generated just for the lightmaps, otherwise it doesn't render the shadows right. Also make sure the lightmap resolution for that object is set to a good size, by default it's 32 which is way too small.
      Yes I do have a 2nd unwrap for the lightmap and there are no overlapping faces, and I set the resolution to 512 (Isn't the static mesh lightmap default size different from the BSP default lightmap size?)

      The mesh also stays black even if I move a point light right next to it.

      Comment


        #4
        I had this same problem it is actually pretty simple all you have to do is set the point light to be dynamic instead of static because when you get rid of precomputed shadows it turns the mesh into a dynamic lighting channel mesh requiring a dynamic light.

        Comment

        Working...
        X