fix: render normals first

This commit is contained in:
cha0s 2024-09-17 01:01:32 -05:00
parent cd8a933a5b
commit acaa930fe1

View File

@ -134,14 +134,14 @@ export default function TileLayer(props) {
<> <>
<TileLayerInternal <TileLayerInternal
{...props} {...props}
asset={asset} asset={normalsAsset}
group={deferredLighting.diffuseGroup} group={deferredLighting.normalGroup}
renderer={renderer} renderer={renderer}
/> />
<TileLayerInternal <TileLayerInternal
{...props} {...props}
asset={normalsAsset} asset={asset}
group={deferredLighting.normalGroup} group={deferredLighting.diffuseGroup}
renderer={renderer} renderer={renderer}
/> />
</> </>