Deferred Engine Progress

So far so simple. I added some new features, namely: Transparent/Glass shader which is done in forward:

dragon_optimized

The refractions (and when the incidence is high, reflection) are simply some distortion of the background image. I am still trying to figure out screen space ray marching, but I have run into some depth conversion issues. I will try more in future.

deferred_1

Apart from that I implemented VSM-shadow mapping for a spotlight. By playing with the values I can make the shadow from the glass dragon a little less dark.

The gif above is a breakdown of the deferred rendering path minus the depth buffer, since it’s almost black.

-> albedo, normals, diffuse, specular, final composite

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