0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / tests / demo / samples / dimensionspbr
... / ...
CommitLineData
1source $env(CSF_OCCTSamplesPath)/tcl/dimensions.tcl
2vcaps -ffp 0
3# PBR requires OpenGL 3.0+ on macOS
4if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
5vrenderparams -shadingModel pbr
6vlight -clear
7vlight -add ambient -intensity 1
8vlight -add directional -dir 0 0 -1 -head 1 -intensity 1
9vdump $imagedir/${test_image}.png
10
11puts "TEST COMPLETED"