Jump to content

* * * * *
Leadwerks includes a built-in screenshot rendering tool to take pictures of your best work.  You can also use the editor to publish your images and videos to share with other developers in the Leadwerks community.  This is a great way to show off your work and get people interested in your game.

Rendering Screenshots

The render window is opened by selecting the Render > Render menu item in the main menu.

Attached Image: Image1.jpg

The viewport dropdown box is used to select which viewport to render.

The antialias settings lets you select an antialias mode to use while rendering the image.  Typically this should be higher than the antialias mode the editor uses while working.  Up to 32x MSAA multisampling is supported, but rendering these types of images requires a lot of video memory.

You can choose from a preset resolution, or select the "Custom" setting and type in your own values for the width and height.

When you press the Render button the screenshot will be created and saved in your "Documents\Leadwerks\Screenshots" folder.  (You can open this folder by pressing the Open Screenshots Folder button.)  Your rendered image will be opened in a new window.  This window will display the rendered image, information about the image, and controls to publish your image to Steam.  You can enter a title and description for your image.  When you press the Publish button, your image will be uploaded to the Leadwerks Community Hub on Steam.  Your image will also appear in the gallery of the Leadwerks.com website after a few minutes.

Attached Image: dsf.jpg

Quick Render

Selecting the Render > Quick Render menu item in the main menu will cause the editor to render a screenshot with the last used settings and open it in a new window right away.  This just skips the step of adjusting your render settings.

Publishing Images

If you have your own image you want to publish, you can do this by selecting the Render > Publish Image menu item.  A file selection dialog will appear which lets you choose a file to upload.  After you select the file, it will appear in a new window, as if you had rendered it from the editor.  You can then publish this image to Steam just like a regular screenshot.

Publishing Videos

You can even publish your own YouTube videos to Steam with Leadwerks.  To do this, select the Render > Publish Video menu item.  The Publish Video window will appear.  You can enter a YouTube video URL, or just the video ID.  You can enter a title and description for your video, then press the OK button.  Your video will then be published to Steam and appear in the Leadwerks Community Hub and the Leadwerks.com website after a few minutes.

Attached Image: Image1.jpg


TIP: In Windows, when you try to create a quality 32x MSAA render in a large scene, you may an error and display driver stopped and recovered appears.

Most likely it is related to "Timeout Detection and Recovery (TDR)".

This is because the scene takes more than 2 seconds to render. Windows understands that it is not a normal behavior that a scene in real time take more than 2 seconds to be rendered and active this protection.

Don't worry, is easily solved:

1- Download and install the TDR manipulator and follow the instructions from link. I personally have the TDR disable and don't have any problem.

Is there a way to render at a higher resolution than 1920x1080? Would be nice to use this to create posters! :)

Christian Clavet, on 21 May 2015 - 04:19 AM, said:

Is there a way to render at a higher resolution than 1920x1080? Would be nice to use this to create posters! :)
There's nothing stopping us from enabling that, except that it is possible for your GPU to run out of memory and crash the computer.  So there's presently an artificial limit on it.

Maybe in the future I will add an option to disable this limit.  People would be unlikely to "accidentally" enable that.
Is there any way to render a screenshot from script?