serverinfo
Brazil
9 Posts |
Posted - Feb 29 2020 : 21:51:11
|
When you merge layers that has soft shadow applied, it is messing the position of the layers.
Steps to debug the problem:
1 - Open the Layer All types demo 2 - To make it easier to see the problema, increase the soft shadow radius in the demo (Add below line 1008) lyr.SoftShadow.Enabled := chkSoftShadow.Checked; (line 1008) lyr.SoftShadow.Radius := 50; (* add this line)
3 - Add a sphere layer (make it bigger and center it on screen) 4 - Add another sphere layer (make it a bit smaller than the previous and center it on screen, change color) 5 - Add another sphere layer (make it a bit smaller than the previous and center it on screen, change color) 6 - Add soft shadow to all 3 layers 7 - merge the 3 layers 8 - note how the position of the spheres get messed the same problem occurs when saving merged layers to a file (you get a messed output file)
(see the attached pngs for further clarification)
|
|