How to Shade Particles in Viewport?

   1192   2   0
User Avatar
Member
20 posts
Joined: Sept. 2019
Offline
Greetings,
I have a particle system in my Geo Sop and I want to add some lights to make a simple shading to my particles.
I get that the lights in Viewport work only on geometries but I don't want to instance spheres to 1mil particles just to shade them.
Also, I used an ADD SOP after my DOP I/O and enable the Particles System option but still nothing.
Am I missing something?
User Avatar
Member
1738 posts
Joined: May 2006
Online
Fun question, had a go at a cheap lighting setup. I merge in all the lights in the scene, read their colour, intensity, exposure, and use that plus their position to do some simple lighting calculations.

Could extend it to do normals, maybe even a estimation of the number of points between the light and the current point to do shadowing, but I reckon this works well enough as a test.

Attachments:
pop_light.gif (2.2 MB)
pop_lights.hiplc (542.5 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
20 posts
Joined: Sept. 2019
Offline
mestela
Fun question, had a go at a cheap lighting setup. I merge in all the lights in the scene, read their colour, intensity, exposure, and use that plus their position to do some simple lighting calculations.

Could extend it to do normals, maybe even a estimation of the number of points between the light and the current point to do shadowing, but I reckon this works well enough as a test.

What you made here is amazing !
  • Quick Links