float total_ramp_colors = float(textureSize(base_ramp, 0).x); float shade_factor = 2.0 / total_ramp_colors; float color_pos_factor = 1.0 / total_ramp_colors; ...
This is a shader library used for unity shader coding, pointing to different shader effects found from various sources. Several library topics may become public in the future. This project is mainly ...