1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

16 lines
476 B
Plaintext

# PBR requires OpenGL 3.0+ on macOS
pload VISUALIZATION
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
source $env(CSF_OCCTSamplesPath)/tcl/materials.tcl
vlight -change 0 -intensity 5
vrenderparams -shadingModel PBR -msaa 0
vdump $imagedir/${casename}_default.png
set aCubeMap [locate_data_file Circus_CubeMap_V.png]
vbackground -cubemap $aCubeMap
vdump $imagedir/${casename}_env.png
vbackground -cubemap $aCubeMap -invertedz
vdump $imagedir/${casename}_env_iz.png