groverburger / g3d

Simple and easy 3D engine for LÖVE.
MIT License
567 stars 35 forks source link

Geometry gets broken when is drawn to a canvas #40

Closed fantasmashy closed 1 year ago

fantasmashy commented 1 year ago

image this is a cube

in love 11.3 chromebook (debian 11)

shviller commented 1 year ago

@fantasmashy: This is probably relevant:

When using a stencil or depth testing with an active Canvas, the stencil buffer or depth buffer must be explicitly enabled in setCanvas via the variants below.

groverburger commented 1 year ago

Let me know if this can fix the issue: https://github.com/groverburger/g3d/wiki/Can%27t-render-models-to-canvas

If not, it's probably an issue with g3d.

fantasmashy commented 1 year ago

oh yes, it was the deph

groverburger commented 1 year ago

oh yes, it was the deph

Glad we could help! Closing this issue.