#HDRP How to properly light a lamp

1 messages · Page 1 of 1 (latest)

rocky field
#

Hi I'm working on a prototype and haven't really done proper lighting in HDRP before.
I have this lamp that I want to do 2 things:

  1. Have it's yellow parts be glowing / emissive
  2. Project an area of light around it that would look good in fog
    How do I go about that correctly?
dark condor
# rocky field Hi I'm working on a prototype and haven't really done proper lighting in HDRP be...

Give the lamp an emission map for the yellow parts
Make sure the light is not occluded by the lamp itself, so disable shadows on the light or if you do have shadows, disable shadows on the lamp or increase the shadow near plane of the light so it exceeds the lamp size
Additionally you can increase the light size to make shadows and specular softer to correspond to the large emissive area, and also you can give it a light cookie so the shadows of the lantern frame can be included in the light

rocky field
#

I have this emission texture

dark condor
# rocky field

Is it intended to have a different UV map than the base textures?

rocky field
#

Supposedly it works together

#

But I'm not too familiar

#

I changed the world lighting a bit

#

And got this, but I guess it's not aligned?

dark condor
rocky field
#

If I change the tiling and offset it doesn't go on the yellow part, so yeah different uv map

dark condor
#

Base is UV0
Emission is UV1
Make them both UV0

#

Don't change tiling or offset

rocky field
#

Ohhh

#

It was on UV1

#

Now it works

#

Perfect

#

So in regards to the point light you said disable shadows