Hey guys,
How can I alter the color
and/or innerColor
of the loose_points_frag.glsl
shader using the assigned diffuse_color
(viewport display) of an object using Blenders source code.
I want to make different point cloud objects consisting of loose vertices to be better readable. See above example of point cloud display in grey/ black. My goal would be to have one cube colored red and the other one blue.
Here’s the commit by @Hypersomniac on the developer site with the loose points frag shader
https://developer.blender.org/rB1d230240143a465a197df32754d7c56fab44073a
I am quite new to programming in Blender and openGL so any hint or reference to similar projects would be great.
Thanks in advance,
Daniel