dlannan / defold-blender-export

A blender import/export system for Defold
MIT License
41 stars 1 forks source link

Simple PBR lighting #5

Open dlannan opened 2 years ago

dlannan commented 2 years ago

The lighting in Simple PBR is essentially the same as the Defold default model lighting - very rudimentary. It is intended that up to 4 dynamic lights are supported. With possibly Point, Spot and Directional types supported.

This issue is to research some of this and maintain documentation on the process. The solving of this feature will be needed before shadows and some GI solutions are attempted.

dlannan commented 2 years ago

No work done on this yet. Need to design a render script to support this better I think.

dlannan commented 3 weeks ago

This was side tracked by the new node generation branch. Which is pretty awesome, but has one major drawback - it is slow because it generates large shader for each node system. Not great. These need to be optimized and then a more formal PBR spec can be determined. It will probably follow Khnoros's GLTF PBR format.