Package gaiasky.util.gdx.shader
Class RelativisticShader
- java.lang.Object
-
- gaiasky.util.gdx.shader.BaseIntShader
-
- gaiasky.util.gdx.shader.DefaultIntShader
-
- gaiasky.util.gdx.shader.RelativisticShader
-
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,IntShader
- Direct Known Subclasses:
GroundShader
public class RelativisticShader extends DefaultIntShader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelativisticShader.Inputsstatic classRelativisticShader.Setters-
Nested classes/interfaces inherited from class gaiasky.util.gdx.shader.DefaultIntShader
DefaultIntShader.Config
-
Nested classes/interfaces inherited from class gaiasky.util.gdx.shader.BaseIntShader
BaseIntShader.GlobalSetter, BaseIntShader.LocalSetter, BaseIntShader.Setter, BaseIntShader.Uniform, BaseIntShader.Validator
-
-
Field Summary
Fields Modifier and Type Field Description intu_gwintu_gwmat3intu_htermsintu_omgwintu_tsintu_vcintu_velDir-
Fields inherited from class gaiasky.util.gdx.shader.DefaultIntShader
ambientCubemap, attributesMask, config, defaultCullFace, defaultDepthFunc, directionalLights, dirLightsColorOffset, dirLightsDirectionOffset, dirLightsLoc, dirLightsSize, environmentCubemap, implementedFlags, lighting, pointLights, pointLightsColorOffset, pointLightsIntensityOffset, pointLightsLoc, pointLightsPositionOffset, pointLightsSize, shadowMap, spotLights, spotLightsColorOffset, spotLightsCutoffAngleOffset, spotLightsDirectionOffset, spotLightsExponentOffset, spotLightsIntensityOffset, spotLightsLoc, spotLightsPositionOffset, spotLightsSize, u_alphaTest, u_ambientCubemap, u_ambientTexture, u_bones, u_cameraDirection, u_cameraK, u_cameraNearFar, u_cameraPosition, u_cameraUp, u_dCamPos, u_diffuseColor, u_diffuseTexture, u_dirLights0color, u_dirLights0direction, u_dirLights1color, u_emissiveColor, u_emissiveTexture, u_environmentCubemap, u_fogColor, u_heightNoiseSize, u_heightScale, u_heightSize, u_heightTexture, u_nightTexture, u_normalMatrix, u_normalTexture, u_opacity, u_pointLights0color, u_pointLights0intensity, u_pointLights0position, u_pointLights1color, u_prevProjView, u_projTrans, u_projViewTrans, u_projViewWorldTrans, u_reflectionColor, u_reflectionTexture, u_shadowMapProjViewTrans, u_shadowPCFOffset, u_shadowTexture, u_shininess, u_specularColor, u_specularTexture, u_spotLights0color, u_spotLights0cutoffAngle, u_spotLights0direction, u_spotLights0exponent, u_spotLights0intensity, u_spotLights0position, u_spotLights1color, u_tessQuality, u_time, u_viewTrans, u_viewWorldTrans, u_vrScale, u_worldTrans
-
Fields inherited from class gaiasky.util.gdx.shader.BaseIntShader
camera, context, program
-
-
Constructor Summary
Constructors Constructor Description RelativisticShader(IntRenderable renderable)RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config)RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, ExtShaderProgram shaderProgram)RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, java.lang.String prefix)RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, java.lang.String prefix, java.lang.String vertexShader, java.lang.String fragmentShader)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringcreatePrefix(IntRenderable renderable, DefaultIntShader.Config config)-
Methods inherited from class gaiasky.util.gdx.shader.DefaultIntShader
begin, bindLights, bindMaterial, canRender, compareTo, dispose, end, equals, equals, getDefaultCullFace, getDefaultDepthFunc, getDefaultFragmentShader, getDefaultVertexShader, init, render, setDefaultCullFace, setDefaultDepthFunc
-
-
-
-
Constructor Detail
-
RelativisticShader
public RelativisticShader(IntRenderable renderable)
-
RelativisticShader
public RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config)
-
RelativisticShader
public RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, java.lang.String prefix)
-
RelativisticShader
public RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, java.lang.String prefix, java.lang.String vertexShader, java.lang.String fragmentShader)
-
RelativisticShader
public RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, ExtShaderProgram shaderProgram)
-
-
Method Detail
-
createPrefix
public static java.lang.String createPrefix(IntRenderable renderable, DefaultIntShader.Config config)
-
-