DarkRadiant: master 0b00b9fd
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 07.03.2021 20:30 | master 4d19f816 |
Changeset | Simplify vertex colour handling in interaction shader Modern shaders can work fine with boolean uniforms, so we don't need the awkward "scale and offset" approach to vertex colour handling. Instead we just examine a boolean to determine if the vertex colour should be inverted, and perform the calculation accordingly. |
|||
mod - install/gl/interaction_fp.glsl | Diff File | |||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | |||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h | Diff File |