anm-ol / sim3d

https://anm-ol.github.io
6 stars 1 forks source link

Add particles shadows, and better lighting shaders #23

Open anm-ol opened 5 months ago

anm-ol commented 5 months ago

Add shadows of particles which will display on the wall. Add specular reflections and complete phong lighting model

anm-ol commented 5 months ago

Also smooth shading on particles

anm-ol commented 5 months ago

fixed diffuse, added smooth shading and specular light till commit 846d0e922f9cae50cb6a968dd8fbd1113121fde3

anm-ol commented 5 months ago

LightSource object and attenuation added with commit 6dba55bdf631dd3c8f5506322b595bb0686d0340

TODO: maybe modify attenutation function, multiple light support soon Shadow mapping

anm-ol commented 5 months ago

multiple lights added with commit 7da774a04c766bbee54e4df19d04dad8da2d293c

TODO: shadow mapping