shader test changes
This commit is contained in:
parent
79431a7fca
commit
0222ea00a7
@ -9,8 +9,5 @@ varying vec2 v_texCoords;
|
||||
|
||||
void main()
|
||||
{
|
||||
v_color = a_color;
|
||||
v_color.a = v_color.a * (256.0/255.0);
|
||||
v_texCoords = a_texCoord + 0;
|
||||
gl_Position = u_projTrans * a_position;
|
||||
}
|
||||
|
@ -108,6 +108,7 @@ public class MainMenu extends ScreenAdapter implements TransitionAdapter {
|
||||
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
|
||||
stage.act();
|
||||
|
||||
stage.getBatch().setShader(core.defaultShader);
|
||||
stage.draw();
|
||||
if (stage.getCamera().position.x != targetPosition.x || stage.getCamera().position.y != targetPosition.y) {
|
||||
stage.getCamera().position.lerp(targetPosition, 0.25f);
|
||||
|
Loading…
Reference in New Issue
Block a user