guycalledfrank / bakery-issues

Bug tracker for Bakery
4 stars 0 forks source link

RT should bake skinmesh, only takes on static mesh #33

Closed laurentopia closed 3 years ago

laurentopia commented 3 years ago

even though it makes sense it is arbitrary, this case is an example where i want a skinmesh to emit light in its zero position image

laurentopia commented 3 years ago

fix: line 375 if ftBuildLigts.cs mesh = obj.GetComponent()? obj.GetComponent().sharedMesh : obj.GetComponent()? obj.GetComponent().sharedMesh : null;

guycalledfrank commented 3 years ago

Seems like the problem is not RTPreview-related, it's just trying to use a Light Mesh on a skinned mesh. Apparently I never tested it! Thanks for noticing.

Fixed:

https://github.com/guycalledfrank/bakery-csharp/commit/f1bba5b4999d00e29ae4b72f10d1317c571a0949

image