0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / tests / v3d / materials / pbr1
CommitLineData
ba562b2b 1# PBR requires OpenGL 3.0+ on macOS
2pload VISUALIZATION
3if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
4
67312b79 5source $env(CSF_OCCTSamplesPath)/tcl/materials.tcl
6vlight -change 0 -intensity 5
7vrenderparams -shadingModel PBR -msaa 0
8vdump $imagedir/${casename}_default.png
9
10set aCubeMap [locate_data_file Circus_CubeMap_V.png]
11vbackground -cubemap $aCubeMap
12vdump $imagedir/${casename}_env.png
13
14vbackground -cubemap $aCubeMap -invertedz
15vdump $imagedir/${casename}_env_iz.png