Sometimes shadows stretch, sometimes not

Hi,

I’m having an issue where my shadow generator sometimes generates a shadow where parts of it stretch really far. Then I reload and open the same model and it doesn’t happen, everything is fine. Same model, same shadow generator settings, no errors. Anyone know why this happens, but only sometimes?

image

It looks like a texture clamp issue.
Can you provide a PG?

1 Like

I had my opacityTexture.wrapU/wrapV set to Texture.CLAMP_ADDRESSMODE. Now that I removed it, I don’t see it happening anymore. I’ll update if it keeps happening! Thank you!!

2 Likes