Releases: britzl/defold-orthographic
Orthographic Camera API 3.3.2
Orthographic Camera API 3.3.1
FIX: Check window width and height in render script and ignore frames when width or height is 0
Orthographic Camera API 3.3.0
NEW: Added camera.world_to_window()
(Thanks @dri-richard for the contribution)
Orthographic Camera API 3.2.1
FIX: Set stencil mask (Fix for https://forum.defold.com/t/orthographic-strange-gui-stencil-behaviour/69799)
Added support for frustum culling
NEW: The render script now calculates the view frustum per camera and passes this to the draw call. Thanks @8bitskull
Clamp follow lerp to within 0.0 and 1.0
Make sure to keep follow lerp within 0 and 1 Fixes #51
Fixed issues with aspect ratio and custom viewports
FIX: Make sure the camera renders with the correct aspect ratio when the a custom viewport with another aspect ratio than the one in game.project is used
Disable stencil test at the end of the render script
3.1.3 Clip node clips the profiler if we don't disable stencil test. So dis…
Fix window_to_world
FIX: The window_to_world() function was broken after recent viewport change. Thanks to @546342 for the fix!
Orthographic Camera API 3.1.1
FIX: Automatically refresh list of camera ids after camera.update() and before use of camera.get_cameras()