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.SettersNested classes/interfaces inherited from class gaiasky.util.gdx.shader.DefaultIntShader
DefaultIntShader.ConfigNested 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_velDirFields 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_worldTransFields 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
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, setDefaultDepthFuncMethods inherited from class gaiasky.util.gdx.shader.BaseIntShader
getUniformAlias, getUniformID, has, init, loc, register, register, register, register, register, register, render, renderMesh, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
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 Details
-
createPrefix
public static java.lang.String createPrefix(IntRenderable renderable, DefaultIntShader.Config config)
-