The doc for Engine.enableScissor()
states that the origin of the clear rectangle is its top left corner. It should probably be the bottom left corner: this is in line with the WebGLRenderingContext.scissor()
doc, and it matches the current behavior of the library.
You are totally right https://playground.babylonjs.com/#IVU5V0#1 I ll update the doc now.
1 Like