Skip to main content
Became Hot Network Question
added 208 characters in body
Source Link
Basic
  • 1.3k
  • 10
  • 27

I'm trying to cast shadows from a small (3cm) sphere onto a table surface.

If I place a large object, I get shadows as expected, but below a certain size, I get nothing.

enter image description here

I appreciate that under normal circumstances, shadow map resolution wouldn't allow this level of detail, however, my entire scene is 2x2x3 metres.

I could scale up everything to work around the issue, but that would cause a lot of knock-on issues when it comes to physics, VR and a whole slew of other things.

How can I take the shadowmap area Unity would usually assign to a whole scene and apply it to a single tabletop?

enter image description here

I've tried tweaking the Lightmapping properties for the table, but haven't seen any visible difference.

Edit: Changing clipping planes didn't have any obvious impact (different angle as from the camera, not editor view)

enter image description here

I'm trying to cast shadows from a small (3cm) sphere onto a table surface.

If I place a large object, I get shadows as expected, but below a certain size, I get nothing.

enter image description here

I appreciate that under normal circumstances, shadow map resolution wouldn't allow this level of detail, however, my entire scene is 2x2x3 metres.

I could scale up everything to work around the issue, but that would cause a lot of knock-on issues when it comes to physics, VR and a whole slew of other things.

How can I take the shadowmap area Unity would usually assign to a whole scene and apply it to a single tabletop?

enter image description here

I've tried tweaking the Lightmapping properties for the table, but haven't seen any visible difference.

I'm trying to cast shadows from a small (3cm) sphere onto a table surface.

If I place a large object, I get shadows as expected, but below a certain size, I get nothing.

enter image description here

I appreciate that under normal circumstances, shadow map resolution wouldn't allow this level of detail, however, my entire scene is 2x2x3 metres.

I could scale up everything to work around the issue, but that would cause a lot of knock-on issues when it comes to physics, VR and a whole slew of other things.

How can I take the shadowmap area Unity would usually assign to a whole scene and apply it to a single tabletop?

enter image description here

I've tried tweaking the Lightmapping properties for the table, but haven't seen any visible difference.

Edit: Changing clipping planes didn't have any obvious impact (different angle as from the camera, not editor view)

enter image description here

Source Link
Basic
  • 1.3k
  • 10
  • 27

Making Unity shadows work at a small scale

I'm trying to cast shadows from a small (3cm) sphere onto a table surface.

If I place a large object, I get shadows as expected, but below a certain size, I get nothing.

enter image description here

I appreciate that under normal circumstances, shadow map resolution wouldn't allow this level of detail, however, my entire scene is 2x2x3 metres.

I could scale up everything to work around the issue, but that would cause a lot of knock-on issues when it comes to physics, VR and a whole slew of other things.

How can I take the shadowmap area Unity would usually assign to a whole scene and apply it to a single tabletop?

enter image description here

I've tried tweaking the Lightmapping properties for the table, but haven't seen any visible difference.