renderer: Make shader time always count from zero (#6903)
* testing out an initialtime variable * Make time universally start at zero instead of exposing an initial time * Appease the CI
This commit is contained in:
parent
da956c8a97
commit
293e687389
2 changed files with 11 additions and 8 deletions
|
|
@ -42,9 +42,10 @@ class CShader {
|
|||
GLint gradientLength = -1;
|
||||
GLint angle = -1;
|
||||
|
||||
GLint time = -1;
|
||||
GLint distort = -1;
|
||||
GLint wl_output = -1;
|
||||
float initialTime = 0;
|
||||
GLint time = -1;
|
||||
GLint distort = -1;
|
||||
GLint wl_output = -1;
|
||||
|
||||
// Blur prepare
|
||||
GLint contrast = -1;
|
||||
|
|
@ -64,4 +65,4 @@ class CShader {
|
|||
|
||||
private:
|
||||
std::unordered_map<std::string, GLint> m_muUniforms;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue