List of usage examples for com.badlogic.gdx.graphics GL20 GL_VERTEX_PROGRAM_POINT_SIZE
int GL_VERTEX_PROGRAM_POINT_SIZE
To view the source code for com.badlogic.gdx.graphics GL20 GL_VERTEX_PROGRAM_POINT_SIZE.
Click Source Link
From source file:com.cyphercove.doublehelix.MainRenderer.java
License:Apache License
@Override public void create() { if (settingsAdapter != null) settingsAdapter.updateAllSettings(); fader = new FullScreenFader(0, 1.5f); disposables.add(fader);/*from w w w .j ava2 s. c o m*/ GaussianBlurShaderProvider gaussianBlurShaderProvider = new GaussianBlurShaderProvider(); bloom = new GaussianBlur(8f, false, true, gaussianBlurShaderProvider); bloom.setClearColor(Color.BLACK); bloom.setDepthTestingToScene(false); bloom.setBlending(true, GL20.GL_ONE, GL20.GL_ONE_MINUS_SRC_ALPHA); disposables.add(bloom); rearDOFBlur = new GaussianBlur(8f, true, true, gaussianBlurShaderProvider); rearDOFBlur.setDepthTestingToScene(true); rearDOFBlur.setBlending(false, 0, 0); disposables.add(rearDOFBlur); cam = new DepthOfFieldCamera(0.10f, 3.5f, 1f, 28f); needFinishCreate = true; firstFrameDrawn = false; //Enable point rendering for use when flake particles setting is off. Gdx.gl.glEnable(GL20.GL_VERTEX_PROGRAM_POINT_SIZE); if (Gdx.app.getType() == Application.ApplicationType.Desktop) { Gdx.gl.glEnable(0x8861); // GL_POINT_OES } }