• Register









Bright Engine is a Light-Weight C++ Rendering platform aimed towards, Real-time rendering for both Video Games and Cinematic Animations. It is still very early in its life-cycle, but has been designed with scalability in mind allowing for any form of project to be created. From a first person shooter to a Massively multi-player online game.

The mission is to create a robust development tool that acts as a viable alternative to other mainstream products by providing complete control and customisability, allowing the Engine to suit any project while still remaining simple and efficient to use. While the Editor does the heavy lifting, you can go into the heart of your project and edit the source code of the executable to achieve anything you want (including adding your own custom or other 3rd party libraries).






Bright Engine has undergone and still continues to be rigorously tested by a growing community of dedicated game developers who have ensured maximum stability with each new update.

If you are interested in Bright Engine and want to snag up a free copy you are welcome to join the Discord community to ask questions or follow our progress on Trello to get real time development progress updates!


  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles


We finished 2019 with a bang and now after a challenging four months of work we are finally ready to announce Bright Engine v0.1.7a! This update brings about a complete overhaul on the rendering architecture, a brand new material system and node-based editor along with a handful of other new tools! But most importantly we fixed a lot of the performance limitations that had been present in earlier versions, with fps almost doubling across the board with no reduction in quality! With over 40% of the entire code re-written, there is a lot to talk about!

If you are interested in Bright Engine and want to snag up a free copy you are welcome to join the Discord community Ask questions to existing testers, get real time development progress updates or even download the engine to try it out for yourself!

New Features

Let’s start things off with something which has been the most requested feature since Bright Engine went into alpha: the Material Editor!

The Material Editor is the primary tool for creating the visual style for your project as well as many exciting effects. It allows you to connect a series of easy to use nodes together to create complex material without needing to write a single line of shader code!

Materials can be edited in realtime, and the results can be seen both in the 3D view port of the Material Editor and Main Editor

There are a total of 25 nodes at your disposal with plenty more planned for future updates. This plethora of nodes opens the doors to a wide range of possibilities which are too plentiful to talk about here, but below is a simple method of blending two textures together based on their heightmap!

The preview scene has a range of different lighting environments in which you can preview your material, so you can see exactly how it looks in-engine and more importantly, in-game.

Until now, creating custom material could be achieved via custom shaders linked via the Shader Manager. However, this approach to doing things was rather clunky and pretty much made it impossible without knowing how to program shader files. As such, the Shader Manager has been completely removed as it is now redundant.

We also introduced a few other new minor tools to increase development efficiency, namely a Go To system and a Bookmarking System.


A basic version of this previously existed with the Camera To Origin option from the View drop-down menu. The replacement Go To system pretty much does the same thing except now you can specify to which coordinates you want to travel too.

The Bookmarking system works as an extension of the Go To system. When editing large open worlds, there are a lot of locations to work on and having to remember all those coordinates is a real nuisance. The Bookmark Manager allows you to save locations under a set name which you can later travel to via its interface.

A final addition in this update is the release of a brand new Demonstration Project!

The last demo project, while containing a few exciting scenes, became increasingly messy and didn't assist users in understanding how the features of the engine work. This new demo project places each element on display so users can see exactly how everything works and can follow along with the documentation.

Changes & Improvements

Let's talk about the biggest star of this update: The Rendering Architecture. What became increasingly more apparent over the past few updates is that with the ever-increasing number of additional features, the overall performance of the engine simply became worse and worse. Despite our attempts to improve things (and we did), we were unable to truly resolve the problem to a satisfactory level for lower-end machines.

The primary issue was how PBR was being calculated rasterised. While SSAO and Shadow maps were taking full advantage of geometric instancing, the main PBR stage was not. It remained on a naïve per-object drawing system. Let's break down a basic outline of the old architecture of the PBR pass:

If we take the desert scene as an example, it had approximately 100 models in that small space. Each of those models had a single material which consisted of three-channel packed un-optimised 2k textures.

On an NVIDIA GTX 1070 (a higher-end spec GPU) it struggled to reach 46 frames per second. Ignoring the incorrect use of 2k textures on small assets like gravel, why would such a GPU have difficulty? The answer is: it doesn't. The cause of the performance problems are due to the CPU to GPU bottleneck. Whenever drawing a model, the CPU has to transfer all the information from the RAM to the V-RAM, and this process is slow due to physical limitations that cannot be avoided. This is why we saw a massive boost in performance in v0.1.3b when instanced rendering was first introduced. Instancing allows you to send data in groups from RAM to V-RAM, thus reducing the total number of send operations the CPU has to perform (we call these draw calls).

With the PBR pass not utilising instanced rendering this creates a total of 100 draw calls (one for each model) even if multiple models are geometrically the same.

But this alone does not explain the poor performance, after all, most games have up to 1500 draw calls per frame and don't suffer from performance issues as drastic as this. Thus enters the second half to this problem: textures. Much like sending vertex data to the V-RAM, the same process occurs when sending texture information (we call this texture binding). As the PBR pass was drawing object-by-object, it meant that the textures for each object would have to be bound each and every time even if they all used the same textures. Very Bad!

So what does that mean? Well, the Desert scene only had 6 different materials (5 for rocks, 1 for flora) which consisted of 3 different textures, so that's a total of 18 different textures being used. But each one of those textures is being bound per object, so that's 3 texture binds for every 100 objects resulting in a total 300 texture binding operations! No wonder the engine was struggling!

Time for a new approach:

The new architecture addresses both the draw call and texturing binding problems. Models are now drawn on a far more complex but efficient material based system. This allows for the instancing of geometric data (as done with the SSAO and Shadow maps), as well as only binding the textures of materials once per frame as opposed to once per object.

And here are the results:


I think we can all agree that this was a massive improvement! However, this is only the first part of this architectural upgrade. One additional system that deserves far more attention is how shader uniforms are handled, which we will be turning our attention towards in the next update.

We have grossly oversimplified the process of CPU to GPU communication to make it easier for you to understand. However if you are interested to know more, here is a great article written by Keith O’Conor which delves into far more detail than we have.

Let's take a walk down a familiar lane, and talk about lighting (as usual). By shifting the rendering architecture to a material based system, it meant taking a closer look at the CPU portion of the lighting calculation. Much like textures, the method which determined which lights should be sent to the GPU based on the distance to the current model being drawn was having to repeat itself for every object. This slow calculation meant that only a small number of lights could be active at one time.

The new method selects and prepares light information based on which lights are closest to the camera, removing a lot of unnecessary work for practically the same result. This was so much more efficient that we were able to increase the maximum number of lights to be rendered at once from 12 to 48 and still saw an improvement in performance!

Lighting data was also packed into more tightly packed data structures which allowed for fewer uniform shader calls (passing variables into shaders), resulting in the reduction of more unnecessary CPU cycles.

One final area of improvement in regards to rendering was how room data was being handled. The effects such as transitioning skybox textures, fog properties, and sun properties were all being done on the GPU. Interestingly enough, this is one instance where this is actually slower than just doing it on the CPU. Why? Well, the transition factors and properties are all the same per-frame, so by doing the calculations on the GPU, it meant the operation was repeated per-fragment of everything being drawn. Since the values are never changing during a single frame, it is just far more sensible to calculate them once on the CPU and send the results to the GPU.

Bug Fixes

  • Fixed bug where changing a Spot light to an Area Light while having baked shadows caused a crash
  • Fixed bug where transitioning skybox effects were not being applied to Dynamic foliage
  • Fixed bug where the UI for Linear Fog settings would remain disabled when selecting a fog layer which was using the linear fog equation
  • Fixed bug where no checker was in place to ensure that a valid zone name was selected by the user which would otherwise cause a crash
  • Fixed bug where skybox data was being compressed to 8bit instead of remaining its native 32bit when baked to textures
  • Fixed bug where reflection probes data was being compressed to 8bit instead of remaining its native 32bit when baked to textures
  • Fixed bug where some of the settings in the Render Panel were being clipped by the scroll bar
  • Fixed bug where the Particle Editor would remain open even when no project is loaded
  • Fixed bug where changing a value in the Post Processing panel caused the cursor to jump to the start of each component making typing values impossible
  • Fixed bug where using timeline mode on a newly placed Area Light caused a crash
  • Fixed bug where removing a light source directly after changing its type would cause a crash
  • Fixed bug where objects which had just been added to the scene did have a visibility checkbox in the hierarchy until after the zone was reloaded
  • Fixed bug where removing objects could sometimes cause crashes
  • Fixed bug where objects using Mask alpha that were duplicated were not being ordered correctly before drawing resulting in transparency artefacts
  • Fixed bug where changing a sound source from 2D to 3D while the camera is inside the audio area caused a crash
  • Fixed bug where changing brush size, strength or gradient cut off using shortcut keys while painting terrain caused a crash
  • Fixed bug where vertex color painting terrain at maximum strength caused a crash
  • Fixed bug where vertex color painting terrain at maximum strength caused a crash
  • Fixed bug where the Audio areas would hide camera, targets and emitter objects
  • Fixed bug when baking with a reflection probe did not update the clipping planes causing incorrect results
  • Fixed bug where adding, renaming or deleting a new skybox with a Room placement selected instead of the Room itself caused a crash
  • Fixed bug where adding, renaming or deleting a new fog layer with a Room placement selected instead of the Room itself caused a crash
  • Fixed bug where adding, renaming or deleting a new cloud layer with a Room placement selected instead of the Room itself caused a crash
  • Fixed bug where adding, renaming or deleting a new weather layer with a Room placement selected instead of the Room itself caused a crash
  • Fixed bug where selecting a room and any other object then attempting to use the 3D cursor caused a crash
  • Fixed bug where if two audio zones were using the same sound file it would cause a crash if the player entered one of the sound zones
  • Fixed bug where selecting an object after locking a previously selected object caused some settings to remain disabled when they should be enabled
  • Fixed bug where assigning a camera to a waypoint path caused a crash
  • Fixed bug where assigning a target to a waypoint path caused a crash
  • Fixed bug where reflection probes did not correctly display their baked results

What's Next?

This update was the most extensive update in terms of work done to date. Almost 40% of the entire engine's code was re-written, and a massive code change like this means lots of bugs! Specific effects, such as Sub-surface scattering and alpha blending, as well as Editor side issues, have been created as a result of this grandiose update. Furthermore, as the quantity of features and settings increased, the user interface of the editor itself has become quite clunky and slow. We intend to fix this by redesigning the UI to be far more fluid as well as require less resources, fixing slow selection, scroll tearing, and awful tab switching delays.

Therefore, version 0.1.7b is all about finishing improvements to the rendering architecture, refining features and tools that are already in place, and of course fixing as many bugs as possible!

Bright Engine v0.1.6c Patch Notes! - Improvements & Optimisations

Bright Engine v0.1.6c Patch Notes! - Improvements & Optimisations

News 2 comments

In this update, we took a step back from adding new features and focused on improving existing systems drastically, while fixing up quite a few annoying...

Bright Engine v0.1.6b Patch Notes! - Audio, Cameras & Particles

Bright Engine v0.1.6b Patch Notes! - Audio, Cameras & Particles

News

This update we continue down the path of gameplay implementation with cameras and audio systems! We’ve brought about lots of new features once again...

Bright Engine v0.1.6a Patch Notes! - Editor Upgraded

Bright Engine v0.1.6a Patch Notes! - Editor Upgraded

News 2 comments

After a trying few months, we are finally ready to unveil the next update for Bright Engine. As we stated in our last patch notes, this update series...

Bright Engine v0.1.5c Patch Notes! - Performance & Optimisation

Bright Engine v0.1.5c Patch Notes! - Performance & Optimisation

News

Here we are at the final update of 015 update series, happy to present a significantly more stable engine! We bring this update series to a close with...

Comments  (0 - 10 of 17)
LanceJZ
LanceJZ

Looks cool, I'm going to join the Alpha. Give it a spin.

Reply Good karma Bad karma+2 votes
Cysis145 Creator
Cysis145

Wow thanks! Hope you like what we've got so far! :D

Reply Good karma+1 vote
YXBvbGx5b24wOTQ=
YXBvbGx5b24wOTQ=

Looks sick. Might use this.

Reply Good karma Bad karma+2 votes
Cysis145 Creator
Cysis145

Awesome! :D I see you have already joined the Discord Server, Welcome to the Community!

Reply Good karma+1 vote
XIVTrahsion
XIVTrahsion

Very promising, I love the concept. Keeping a tab on it.

Reply Good karma Bad karma+1 vote
Cysis145 Creator
Cysis145

Thanks! We'll continue to work hard and post plenty of updates as we do! :)

Reply Good karma+1 vote
SyazAmirin
SyazAmirin

HI! Everything looks really cool! Just wanna ask, what's unique about this engine than the others? Unity is easy to use and Unreal... well, beautiful graphic. Yours?

Is it sounds rude? If it is, SORRY!!

Reply Good karma Bad karma+1 vote
Cysis145 Creator
Cysis145

No need to apologise its a perfectly valid question!

Unity and Unreal are undoubtedly powerful tools but have become very unfocused by trying to attract every project possible (meaning that extra steps have been forced into the pipeline in order to account for everyone using it). Our goal is to try make the process of achieving desired effects and systems more streamlined and simple without forfeiting capability and power to the user. For example setting up a day and night cycle in Unity or Unreal requires messing around with scripting (or nodes) and can cause confusion as you try to make the system more complex. In Bright with a few clicks in the Editor you have Skybox blending, lighting transitions, fog, sun/moons & weather all ready and done for you. And if the Engine hasn't got a setting you want to adjust, there is nothing from stopping from using custom shaders to achieve the desired effect until its implemented into the engine by the dev team. So far we think we're on the right track and a few of our testers agree, though there is a lot of work left to go.

Aside from all that, we simply wanted to create a tool for our own projects in the future and share it with our growing community who have been helping from day one to improve the engine! :)

Reply Good karma+3 votes
SyazAmirin
SyazAmirin

Thanks for the detailed explanation! As I don't really like to develop games in 3D, I just keep looking at your engine. Sorry! Although, if you do start to focus on 2D, do tell us(The community...)!

Reply Good karma Bad karma+1 vote
Cysis145 Creator
Cysis145

Well technically speaking a 2D game is actually in 3D space with an orthographic camera system. We're currently focused on developing all the 3D side of things but once we introduce a comprehensive camera system for in Editor Game Testing, it really won't be difficult to add the 2D support with the way everything has bee set up so far! :)

Reply Good karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Profile
Platforms
Windows, Linux
Company
Gajatix Studios
Contact
Send Message
Licence
Commercial
Release date
Engine watch
Follow
Share
Community Rating

Average

10

1 vote submitted.

You Say

-

Ratings closed.

Embed Buttons
Link to Bright Engine by selecting a button and using the embed code provided more...
Bright Engine
Statistics
Rank
77 of 831
Last Update
Watchers
27 members
Articles
17
Reviews
1
You may also like
Leadwerks Game Engine
Leadwerks Game Engine Commercial
Bright Engine
Bright Engine Commercial
PhyreEngine
PhyreEngine Commercial
HeroEngine
HeroEngine Proprietary
S2ENGINE HD
S2ENGINE HD Commercial
Unreal Engine 2
Unreal Engine 2 Commercial