Jump to content

Lighting in Vulkan


Josh

4,030 views

 Share

I have basic point lights working in the Vulkan renderer now. There are no shadows or any type of reflections yet. I need to work out how to set up a depth pre-pass. In OpenGL this is very simple, but in Vulkan it requires another complicated mess of code. Once I do that, I can add in other light types (spot, box, and directional) and pull in the PBR lighting shader code. Then I will add support for a cubemap skybox and reflections, and then I will upload another update to the beta.

Untitled.thumb.png.1172e00a027df726951d65cf2f704ced.png

Shadows will use variance shadow maps by default. With these, all objects must cast a shadow, but our renderer is so fast that this is not a problem. I've had very good results with these in earlier experiments.

I then want to complete my work on voxel-based global illumination and reflections. I looked into Nvidia RTX ray tracing but the performance is awful even with a GEForce 2080. My voxel approach should provide good results with fast performance.

Once these features are in place, I may release the new engine on Steam as a programming SDK, until the new editor is ready.

  • Like 3
 Share

2 Comments


Recommended Comments

9 hours ago, Lethal Raptor Games said:

Looking good.  If you do release it to Steam will it be a subscription also?

For all products I plan to offer a subscription and a pay-once model.

  • Like 1
Link to comment
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...