|
@@ -206,7 +206,7 @@ export class VolumetricLightScatteringPostProcess extends PostProcess {
|
|
|
if (useInstances) {
|
|
|
defines.push("#define INSTANCES");
|
|
|
MaterialHelper.PushAttributesForInstances(attribs);
|
|
|
- if (subMesh.getRenderingMesh().hasInstances) {
|
|
|
+ if (subMesh.getRenderingMesh().hasThinInstances) {
|
|
|
defines.push("#define THIN_INSTANCES");
|
|
|
}
|
|
|
}
|