Jump to content

Reflection Colors


Josh

1,429 views

 Share

An update is available for Leadwerks 5 beta on Steam that adds a World::SetSkyColor() command. This allows you to set a gradient for PBR reflections when no skybox is in use.

I learned with Leadwerks 4 that default settings are important. The vast majority of screenshots people show off are going to use whatever default rendering settings I program in. We need a good balance between quality and performance for the engine to use as defaults. Therefore, the engine will use SSAO and bloom effects by default, a gentle gradient will be applied to PBR reflections, and the metal / roughness values of new materials will each be 0.5. Here is the result when a simple box is created with a single directional light:

box.thumb.jpg.d1eadca86ab72dc0f44ddcb52d081d90.jpg

And here is what a more complex model looks like, without any lights in the scene:

model_default.thumb.jpg.26ceace320ff42b5dfc49357b521c7d9.jpg

You can use World::SetSkyColor() to change the intensity of the reflections:

model_contrast.thumb.jpg.5a37eabebc164fce8bba453eb80cbb00.jpg

Or you can change the colors to get an entirely different look:

model.thumb.jpg.e6b9446b04188d4ef67cfb2b199f14af.jpg

A Lua example using this command is available in the "Scripts/Examples" folder.

These feature will help you to get better graphics out of the new engine with minimal effort.

  • Like 7
 Share

0 Comments


Recommended Comments

There are no comments to display.

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...