Jump to content

Leadwerks 3 Update Brings Rendering Enhancements to Mobile

Admin

2,208 views

An update for Leadwerks 3 has been released, bringing new graphical enhancements to mobile games. Building on the efficient art pipeline and user-friendly tools of Leadwerks 3, the engine now supports projected shadows for characters and other dynamic objects. This technique works by casting a shadow onto the surrounding world geometry, to provide real-time shadows that run fast on all platforms.

 

Image3.jpg

 

To enable dynamic shadows on a single object, just select it in the editor and choose the new "Dynamic" option in the "Cast Shadows" property. You can also do this in code by calling Entity::SetShadowMode(Light::Dynamic).

 

Image2.png

 

Leadwerks 3 has also gotten a visual upgrade with the addition of post-processing effects. In Leadwerks 2, all post-processing effects like volumetric light scattering, screen-space ambient occlusion, depth-of-field, and bloom were hard-coded. That is, they were written into the core engine and it was difficult to customize the renderer. Leadwerks 3 has added a new command, Camera::AddPostEffect(), which allows the user to attach a shader right to a camera, to automatically render post-processing effects.

 

The new update also includes features to make it easier to share projects. The Project manager has been outfitted with new Import and Export buttons. You can export an entire project as a single ZIP archive. You can also import a project from a .zip or .werk project file. This makes it easy to share projects and collaborate with other Leadwerks developers as a team.

 

Leadwerks is a fast and flexible development platform for building mobile games with native code. You can download a 30-day trial version on the website here.



4 Comments


Recommended Comments

You can export an entire project as a single ZIP archive. You can also import a project from a .zip or .werk project file. This makes it easy to share projects and collaborate with other Leadwerks developers as a team.

 

Awesome for that part :)

Share this comment


Link to comment

I should add that for mobile projects, the following files have changed and need to be updated in your projects:

(YOURPROJECT)/Projects/Android/jni/main.cpp

(YOURPROJECT)/Projects/iOS/(PROJECTNAME)/ViewController.mm

 

A low-level addition had to be made so render-to-texture would work on mobile.

Share this comment


Link to comment

Since the previous comment, we've added a project update feature so you no longer have to copy updated files manually from our original templates.

Share this comment


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...