ReshotAI / gaussian-splatting-blender-addon

https://www.lingosub.com
423 stars 47 forks source link

Simplify shader nodes to use OSL shaders #36

Open Aodaruma opened 4 months ago

Aodaruma commented 4 months ago

The large number of shader nodes which convert from sh to RGB in the middle were rewritten using OSL shaders. This allows the shaders to represent colors using all the sh attributes stored in the vertices without causing errors.

However, this change assumes that OSL shaders are enabled, so GPU drivers that do not support OSL will not be able to be used.