0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / tests / v3d / materials / pbr1
index 33f1b04..823403f 100644 (file)
@@ -1,3 +1,7 @@
+# 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