Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix registerInstancedBuffer after Mesh creation #12609

Merged
merged 9 commits into from
May 31, 2022
Prev Previous commit
Next Next commit
PBR refractionIntensityTexture in the inspector
  • Loading branch information
sebavan committed May 24, 2022
commit 2c53454ee2565b0dc70fd808e90912bac0640d6b
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,15 @@ export class PBRMaterialPropertyGridComponent extends React.Component<IPBRMateri
step={0.01}
onPropertyChangedObservable={this.props.onPropertyChangedObservable}
/>
<TextureLinkLineComponent
label="Refraction Intensity"
texture={material.subSurface.refractionIntensityTexture}
onTextureCreated={(texture) => (material.subSurface.refractionIntensityTexture = texture)}
onTextureRemoved={() => (material.subSurface.refractionIntensityTexture = null)}
material={material}
onSelectionChangedObservable={this.props.onSelectionChangedObservable}
onDebugSelectionChangeObservable={this._onDebugSelectionChangeObservable}
/>
<TextureLinkLineComponent
label="Refraction"
texture={material.subSurface.refractionTexture}
Expand Down