| @@ -179,7 +179,7 @@ export class ThreeEditor extends ThreeViewer { | |||
| fade && (fade.isEditor = true) | |||
| const taa = this.getPlugin(TemporalAAPlugin) | |||
| taa && (taa.enableStableNoise = true) | |||
| taa && (taa.stableNoise = true) | |||
| const rt = this.getPlugin(RenderTargetPreviewPlugin) | |||
| if (rt) { | |||
| @@ -11,7 +11,7 @@ export function setupWebGiLogo(viewer: ThreeViewer) { | |||
| webgiLogo.style.backgroundImage = `url(${getUrlQueryParam('logo-img')})` | |||
| } | |||
| webgiLogo.onclick = () => { | |||
| window.open(getUrlQueryParam('logo-link') || 'https://webgi.xyz', '_blank') | |||
| window.open(getUrlQueryParam('logo-link') || 'https://webgi.dev', '_blank') | |||
| } | |||
| viewer.container.appendChild(webgiLogo) | |||
| tippy(webgiLogo, { | |||
| @@ -509,7 +509,8 @@ function upgradeObject3D(this: IObject3D, parent?: IObject3D|undefined, objectPr | |||
| // from GLTFObject3DExtrasExtension | |||
| if (!this.userData.__keepShadowDef) { | |||
| this.castShadow = true | |||
| const mat = Array.isArray(this.material) ? this.material[0] : this.material | |||
| this.castShadow = !mat || !mat.transparent && !mat.transmission | |||
| this.receiveShadow = true | |||
| this.userData.__keepShadowDef = true | |||
| } | |||
| @@ -88,7 +88,7 @@ features: | |||
| target: _blank | |||
| - title: Advanced Rendering | |||
| details: Supports advanced rendering plugins like SSAO, WebGi plugins(SSR, Bloom, GI), path tracing, etc for industry specific apps. | |||
| link: https://webgi.xyz/ | |||
| link: https://webgi.dev/ | |||
| rel: external | |||
| target: _blank | |||
| linkText: Checkout WebGi | |||