DirectX 12 Engine- Updates + Demo

In this post, I am going to describe some changes I did to my DirectX 12 rendering engine.

The main changes were in geometry buffers, code refactoring, the material generator, utils methods to build new scenes, new passes and the most important, new high-quality textures and 3D models.

Geometry Buffers

Before, I was using the following geometry buffers

untitle1d

I was computing diffuse reflection (as result of diffuse irradiance environment cube map) and specular reflection (as result of specular pre-convolved environment cube map) and storing them in geometry buffers, but that is wrong. I can use normal and depth data and sample these cube maps in the Environment Pass.

Also, I was creating an additional geometry buffer to store depth in view space. I followed an article to reuse the already existent depth stencil buffer instead.

The final geometry buffers are the following

untitled

Demo

As I got high-quality textures and better 3D models, I decided to record a video with all the techniques currently implemented.

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s