Releases: britzl/defold-orthographic
Orthographic Camera API 3.3.1
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
Clip node clips the profiler if we don't disable stencil test. So dis… …abled it after drawing gui. (#48)
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()
Orthographic Camera API 3.1.0
NEW: You can now call most camera.* functions without specifying a camera id to get the first camera. This is useful in games where you know there is ever only a single camera.