toneMapping
This commit is contained in:
parent
304800008b
commit
a718fa2216
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { Environment } from '@tresjs/cientos'
|
||||
import { CineonToneMapping, PCFShadowMap } from 'three';
|
||||
import { ReinhardToneMapping, PCFShadowMap } from 'three';
|
||||
|
||||
const lamelles_count = useState<number>('lamelles_count')
|
||||
const fence_section = useState<number>('fence_section')
|
||||
|
@ -12,7 +12,7 @@ const bSize = 0.0235
|
|||
const pillar_size = 80 * 0.001
|
||||
|
||||
const { renderer } = useTresContext()
|
||||
renderer.value.toneMapping = CineonToneMapping
|
||||
renderer.value.toneMapping = ReinhardToneMapping
|
||||
|
||||
renderer.value.shadowMap.enabled = true
|
||||
renderer.value.shadowMap.type = PCFShadowMap
|
||||
|
|
Loading…
Reference in New Issue