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 TypeFieldDescriptionfinal int
final int
final int
final int
final int
final int
final int
Fields inherited from class gaiasky.util.gdx.shader.DefaultIntShader
attributesMask, config, directionalLights, dirLightsColorOffset, dirLightsDirectionOffset, dirLightsLoc, dirLightsSize, lighting, pointLights, pointLightsColorOffset, pointLightsIntensityOffset, pointLightsLoc, pointLightsPositionOffset, pointLightsSize, shadowMap, spotLights, spotLightsColorOffset, spotLightsCutoffAngleOffset, spotLightsDirectionOffset, spotLightsExponentOffset, spotLightsIntensityOffset, spotLightsLoc, spotLightsPositionOffset, spotLightsSize, u_alphaTest, u_ambientCubemap, u_aoCubemap, u_aoTexture, u_bodySize, u_bones, u_cameraDirection, u_cameraK, u_cameraNearFar, u_cameraPosition, u_cameraUp, u_dCamPos, u_diffuseColor, u_diffuseCubemap, u_diffuseScatteringColor, u_diffuseTexture, u_dirLights0color, u_dirLights0direction, u_dirLights1color, u_eclipseOutlines, u_eclipsingBodyPos, u_eclipsingBodyRadius, u_elevationMultiplier, u_emissiveColor, u_emissiveCubemap, u_emissiveTexture, u_fogColor, u_generic1, u_generic2, u_heightCubemap, u_heightNoiseSize, u_heightScale, u_heightSize, u_heightTexture, u_ior, u_iridescenceFactor, u_iridescenceIOR, u_iridescenceTexture, u_iridescenceThicknessMax, u_iridescenceThicknessMin, u_iridescenceThicknessTexture, u_metallicColor, u_metallicCubemap, u_metallicTexture, u_normalCubemap, u_normalMatrix, u_normalTexture, u_occlusionMetallicRoughnessTexture, u_opacity, u_pointLights0color, u_pointLights0intensity, u_pointLights0position, u_pointLights1color, u_prevProjView, u_projTrans, u_projViewTrans, u_reflectionCubemap, u_roughnessColor, u_roughnessCubemap, u_roughnessTexture, u_shadowMapProjViewTrans, u_shadowPCFOffset, u_shadowTexture, u_shininess, u_specularColor, u_specularCubemap, u_specularTexture, u_spotLights0color, u_spotLights0cutoffAngle, u_spotLights0direction, u_spotLights0exponent, u_spotLights0intensity, u_spotLights0position, u_spotLights1color, u_svtBufferTexture, u_svtDepth, u_svtDetectionFactor, u_svtId, u_svtIndirectionAoTexture, u_svtIndirectionDiffuseTexture, u_svtIndirectionEmissiveTexture, u_svtIndirectionHeightTexture, u_svtIndirectionMetallicTexture, u_svtIndirectionNormalTexture, u_svtIndirectionRoughnessTexture, u_svtIndirectionSpecularTexture, u_svtResolution, u_svtTileSize, u_tessQuality, u_thicknessFactor, u_thicknessTexture, u_time, u_volumeColor, u_volumeDistance, u_vrOffset, 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
-