[examples] Add core_scissor_shape (#6032)
* [examples] Add core_scissor_shape Clip drawing to an arbitrary shape using the stencil buffer, since BeginScissorMode() only supports axis-aligned rectangles. * [examples] Rename to gl_scissor_shapes.c Rename core_scissor_shape to gl_scissor_shapes, move to others. Per @raysan5's review feedback on the PR: keep OpenGL-facing examples under examples/others, consistent with rlgl_standalone and raylib_opengl_interop, to avoid multi-platform/build-system issues.
This commit is contained in:
parent
f28c2221cc
commit
1225932449
1 changed files with 153 additions and 0 deletions
BIN
examples/others/gl_scissor_shapes.png
Normal file
BIN
examples/others/gl_scissor_shapes.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in a new issue