Shadows do not respect Texture's OffsetStudsU / OffsetStudsV

The shadows appear unaligned with the textures when the OffsetStuds properties of a transparent texture does not equal 0, indicating that lighting engine does not respect offset of the textures.

This bug affects every game that uses ShadowMap (exclusive to sun light only) or Future lighting technology.

Photos attached

Sunlight:


Light source:

System Information

CPU: 11th Gen Intel(R) Core™ i5-11600KF @ 3.90 GHz
RAM: 32 GB DDR4
GPU: NVIDIA GeForce GTX 1660 SUPER

Reproduction File: Bug_Report_Shadow_Texture_Reproduction.rbxl (58.3 KB)

Expected behavior

Shadows should correctly align and respect texture’s offset.

2 Likes