You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Small fix
This fix is to only activate the filter when the background is actually non-black, matching the same guard used in shouldSuppressBackgroundMatteLayer
This commit is contained in:
@@ -335,7 +335,7 @@ export class FurnitureVisualization extends RoomObjectSpriteVisualization
|
||||
sprite.posture = this.getPostureForAsset(scale, assetData.source);
|
||||
sprite.clickHandling = this._clickHandling;
|
||||
|
||||
if(sprite.blendMode === 'add')
|
||||
if(sprite.blendMode === 'add' && !this.isBackgroundColorBlack())
|
||||
{
|
||||
if(!FurnitureVisualization._blackToAlphaFilter) FurnitureVisualization._blackToAlphaFilter = new BlackToAlphaFilter();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user