DarkRadiant: master 41bc1243

Author Committer Branch Timestamp Parent
greebo greebo master 03.09.2022 17:09 master b3971b05
Affected Issues  0006081: Some materials aren't displayed correctly
Changeset 0006081: The editor preview pass should not be affected by the diffuse stage's colour modulation.
In many materials the editor image is already coloured such that it resembles the look of the diffuse in lighting mode, like in the rough_wood_brown material (where the diffuse is mostly grey but modulated with rgb expressions, its editor image is already coloured to simulate this). The editor preview pass is now actively suppressing all colour information from the associated stages when applying the glColor values.
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLState.h Diff File