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