Open MarkOates opened 3 months ago
In some cases, projection is not changing the context as expected. The exact case has not been isolated, but in Camera3D::setup_projection_on, commenting out these two lines:
Camera3D::setup_projection_on
al_set_render_state(ALLEGRO_DEPTH_TEST, 1); al_set_render_state(ALLEGRO_WRITE_MASK, ALLEGRO_MASK_DEPTH | ALLEGRO_MASK_RGBA);
...has shown to restore the rendering (without testing for any side-effects).
Not there is a similar setup_dimensional_projection that is used in Camera2D and seems to work fine.
setup_dimensional_projection
Camera2D
There has not yet been an isolated minimal test made. It also could be related to the framework, backgrounds.
In some cases, projection is not changing the context as expected. The exact case has not been isolated, but in
Camera3D::setup_projection_on
, commenting out these two lines:...has shown to restore the rendering (without testing for any side-effects).
Some other ideas
Not there is a similar
setup_dimensional_projection
that is used inCamera2D
and seems to work fine.There has not yet been an isolated minimal test made. It also could be related to the framework, backgrounds.