Skip to main content

Troubleshooting Shading Artifacts

See: Quick Start/Troubleshooting Shading Artifacts

In this tutorial, we will only apply SdefInjector.OverrideEngineCreateEffect.

src/sceneBuilder.ts
SdefInjector.OverrideEngineCreateEffect(engine);

Outline rendering has already been disabled on Load BPMX Model page.

src/sceneBuilder.ts
const materialBuilder = new MmdStandardMaterialBuilder();
materialBuilder.loadOutlineRenderingProperties = (): void => { /* do nothing */ };