1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/demo/samples/dimensionspbr
iko c8bead4752 0031293: Visualization, TKOpenGl - broken capping when PBR shading is ON
Division by 'w' component has been added in texture coordinates calculations in PBR functions.
2020-01-13 16:21:56 +03:00

10 lines
258 B
Plaintext

source $env(CSF_OCCTSamplesPath)/tcl/dimensions.tcl
vcaps -ffp 0
vrenderparams -shadingModel pbr
vlight -clear
vlight -add ambient -intensity 1
vlight -add directional -dir 0 0 -1 -head 1 -intensity 1
vdump $imagedir/${test_image}.png
puts "TEST COMPLETED"