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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
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
Modifier and TypeFieldDescriptionint
int
int
int
int
int
int
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
ConstructorDescriptionRelativisticShader(IntRenderable renderable)
RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config)
RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, ExtShaderProgram shaderProgram)
RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, String prefix)
RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, String prefix, String vertexShader, String fragmentShader)
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createPrefix(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
-
Field Details
-
u_vc
public final int u_vc -
u_velDir
public final int u_velDir -
u_hterms
public final int u_hterms -
u_gw
public final int u_gw -
u_gwmat3
public final int u_gwmat3 -
u_ts
public final int u_ts -
u_omgw
public final int u_omgw
-
-
Constructor Details
-
RelativisticShader
-
RelativisticShader
-
RelativisticShader
-
RelativisticShader
public RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, String prefix, String vertexShader, String fragmentShader) -
RelativisticShader
public RelativisticShader(IntRenderable renderable, DefaultIntShader.Config config, ExtShaderProgram shaderProgram)
-
-
Method Details
-
createPrefix
-