Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 2.18 KB

README.md

File metadata and controls

47 lines (28 loc) · 2.18 KB

Illumination

Overview

Mix of defold-illumination and defold-light-and-shadows This example contains ready-to-use forward shading lighting mixed with realtime shadow from one source (the sun)

🎮 Play HTML5 demo with 🔦 on the E key.

Pros:

  1. Worked in mobile( defold-illumination not worked in my mobile looks like shader precision problem)
  2. Frustum culling to light sources(from scene3d)
  3. Clustered forward shading
  4. Dynamic shadow matrix(update the shadow matrix whenever the camera moves so that it ideally describes the camera's frustum)

Cons:

  1. Remove normal and specular map. I do not use it in my games. So if you need them you can add them by yourself(look in illumination sources)

How to use

This is not library this is example so you need manualy add it to you project. 1)Copy illumination folder 2)Use illumination render script or add logic to your script 3)Look at example.collection and add necessary objects to your collection

Support me:)

If you like the extension you can support me on patreon. It will help me make more items for defold.

"Buy Me A Coffee"

Credits