Palash Bansal 11 месяцев назад
Родитель
Сommit
eee4832e95
Аккаунт пользователя с таким Email не найден

+ 1
- 1
examples/tweakpane-editor/ThreeEditor.ts Просмотреть файл

fade && (fade.isEditor = true) fade && (fade.isEditor = true)


const taa = this.getPlugin(TemporalAAPlugin) const taa = this.getPlugin(TemporalAAPlugin)
taa && (taa.enableStableNoise = true)
taa && (taa.stableNoise = true)


const rt = this.getPlugin(RenderTargetPreviewPlugin) const rt = this.getPlugin(RenderTargetPreviewPlugin)
if (rt) { if (rt) {

+ 1
- 1
plugins/tweakpane-editor/src/logo.ts Просмотреть файл

webgiLogo.style.backgroundImage = `url(${getUrlQueryParam('logo-img')})` webgiLogo.style.backgroundImage = `url(${getUrlQueryParam('logo-img')})`
} }
webgiLogo.onclick = () => { webgiLogo.onclick = () => {
window.open(getUrlQueryParam('logo-link') || 'https://webgi.xyz', '_blank')
window.open(getUrlQueryParam('logo-link') || 'https://webgi.dev', '_blank')
} }
viewer.container.appendChild(webgiLogo) viewer.container.appendChild(webgiLogo)
tippy(webgiLogo, { tippy(webgiLogo, {

+ 2
- 1
src/core/object/iObjectCommons.ts Просмотреть файл



// from GLTFObject3DExtrasExtension // from GLTFObject3DExtrasExtension
if (!this.userData.__keepShadowDef) { 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.receiveShadow = true
this.userData.__keepShadowDef = true this.userData.__keepShadowDef = true
} }

+ 1
- 1
website/index.md Просмотреть файл

target: _blank target: _blank
- title: Advanced Rendering - title: Advanced Rendering
details: Supports advanced rendering plugins like SSAO, WebGi plugins(SSR, Bloom, GI), path tracing, etc for industry specific apps. 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 rel: external
target: _blank target: _blank
linkText: Checkout WebGi linkText: Checkout WebGi

Загрузка…
Отмена
Сохранить