Explorar el Código

Link update

master
Palash Bansal hace 11 meses
padre
commit
eee4832e95
No account linked to committer's email address

+ 1
- 1
examples/tweakpane-editor/ThreeEditor.ts Ver fichero

@@ -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) {

+ 1
- 1
plugins/tweakpane-editor/src/logo.ts Ver fichero

@@ -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, {

+ 2
- 1
src/core/object/iObjectCommons.ts Ver fichero

@@ -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
}

+ 1
- 1
website/index.md Ver fichero

@@ -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

Cargando…
Cancelar
Guardar