0027919: Visualization - support multiple transformation persistence groups within...
[occt.git] / tests / v3d / materials / pbr1
1 # PBR requires OpenGL 3.0+ on macOS
2 pload VISUALIZATION
3 pload OPENGL
4 if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
5
6 source $env(CSF_OCCTSamplesPath)/tcl/materials.tcl
7 vlight -change 0 -intensity 5
8 vrenderparams -shadingModel PBR -msaa 0
9 vdump $imagedir/${casename}_default.png
10
11 set aCubeMap [locate_data_file Circus_CubeMap_V.png]
12 vbackground -cubemap $aCubeMap
13 vdump $imagedir/${casename}_env.png
14
15 vbackground -cubemap $aCubeMap -invertedz
16 vdump $imagedir/${casename}_env_iz.png