made shader transparent
This commit is contained in:
parent
e7582bd081
commit
d9cd0f19cb
|
@ -74,7 +74,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
oglu::ClearScreen(GL_COLOR_BUFFER_BIT, oglu::Color(0.29f, 0.13f, 0.23f));
|
oglu::ClearScreen(GL_COLOR_BUFFER_BIT, oglu::Color(0.29f, 0.13f, 0.23f));
|
||||||
|
|
||||||
shader->SetUniform("ourColor", &oglu::Color::Blue);
|
shader->SetUniform("ourColor", &oglu::Color::Transparent);
|
||||||
shader->Use();
|
shader->Use();
|
||||||
square.BindAndDraw();
|
square.BindAndDraw();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue