Jump to content

Ultra Software Company Blog

  • entries
    188
  • comments
    1,259
  • views
    693,814

Contributors to this blog

Leadwerks 3 Update Brings Rendering Enhancements to Mobile


Admin

4,064 views

 Share

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.

  • Upvote 11
 Share

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 :)

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.

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.

Link to comment
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...