Skip to content

Commit 67b282d

Browse files
committed
fix: add missing misc properties in sky material
1 parent c99b7ec commit 67b282d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • editor/src/editor/layout/inspector/material

editor/src/editor/layout/inspector/material/sky.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ export class EditorSkyMaterialInspector extends Component<IEditorSkyMaterialInsp
4040
<EditorInspectorNumberField object={this.props.material} property="mieDirectionalG" label="Mie Directional G" min={0} max={1} />
4141
<EditorInspectorSwitchField object={this.props.material} property="dithering" label="Dithering" />
4242
</EditorInspectorSectionField>
43+
44+
<EditorInspectorSectionField title="Misc">
45+
<EditorInspectorSwitchField label="Fog Enabled" object={this.props.material} property="fogEnabled" />
46+
<EditorInspectorSwitchField label="Use Logarithmic Depth" object={this.props.material} property="useLogarithmicDepth" />
47+
</EditorInspectorSectionField>
4348
</>
4449
);
4550
}

0 commit comments

Comments
 (0)