Change closure_eval_always
to be an overload of closure_eval
with an optional const bool parameter for ssr output: closure_eval(ClosureReflection reflection, const bool do_ssr_output)
The Ugly
What are we supposed to do with these?
void pow_qt_fl_normalized(float q[4], float fac);
void sub_qt_qtqt(float q[4], const float a[4], const float b[4]);
void add_qt_qtqt(f…
Just as a note, I have to check if the offset in the shader make sense mathematically.
Also would be nice to have the other reviewers opinion about usability.
This should also be in another commit. You can create another PR for these two thing (only one PR for both).
Yes, but I'm suggesting to rename the overlay_depth_only
to overlay_edit_mesh_depth_only
too.
Changing the uniform color shader is a cleanup think and should be committed separately.
minimum value something like 0.001
You can use FLT_MIN
for that. I'm sure the difference with 0.0 will not be noticeable.