Package zombie.core.skinnedmodel.shader
Class Shader
java.lang.Object
zombie.core.skinnedmodel.shader.Shader
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
End()
int
getID()
boolean
isStatic()
boolean
void
setAlpha
(float alpha) void
setAmbient
(float amb) void
setAmbient
(float ambr, float ambg, float ambb) void
setDepthBias
(float bias) void
setHueShift
(float hue) void
setLight
(int index, float x, float y, float z, float r, float g, float b, float rad, float animPlayerAngle, float offsetX, float offsetY, float offsetZ, IsoMovingObject instObject) void
setLight
(int index, float x, float y, float z, float r, float g, float b, float rad, float animPlayerAngle, ModelInstance inst) void
setLightingAmount
(float lighting) void
setMatrix
(int location, float[] matrix4f) void
setMatrix
(int location, org.joml.Matrix4f matrix4f) void
setMatrixBlood1
(float[] matrix1, float[] matrix2) void
setMatrixBlood2
(float[] matrix1, float[] matrix2) void
setMatrixPalette
(FloatBuffer matrixPalette) void
setMatrixPalette
(FloatBuffer matrixPalette, boolean transpose) void
setMatrixPalette
(org.joml.Matrix4f[] skin) void
setMatrixPalette
(org.lwjgl.util.vector.Matrix4f[] skin) void
setReflectionParam
(float timesOfDay, float refWindows, float refBody) void
setShaderAlpha
(float a) void
setTexture
(Texture tex, String unitName, int textureUnit) void
setTextureDamage1Enables1
(float[] matrix4f) void
setTextureDamage1Enables2
(float[] matrix4f) void
setTextureDamage2Enables1
(float[] matrix4f) void
setTextureDamage2Enables2
(float[] matrix4f) void
setTextureLightsEnables1
(float[] matrix4f) void
setTextureLightsEnables2
(float[] matrix4f) void
setTexturePainColor
(float x, float y, float z, float a) void
setTexturePainColor
(org.joml.Vector3f vec, float a) void
setTexturePainColor
(org.joml.Vector4f vec) void
setTextureRustA
(float a) void
setTextureUninstall1
(float[] matrix4f) void
setTextureUninstall2
(float[] matrix4f) void
setTint
(float x, float y, float z) void
setTransformMatrix
(org.joml.Matrix4f matrix4f, boolean transpose) void
setTransformMatrix
(org.lwjgl.util.vector.Matrix4f matrix4f, boolean transpose) void
Start()
void
startCharacter
(ModelSlotRenderData slotData, ModelInstanceRenderData instData) void
updateAlpha
(IsoGameCharacter chr, int playerIndex) void
-
Field Details
-
BoneIndicesAttrib
public int BoneIndicesAttrib -
BoneWeightsAttrib
public int BoneWeightsAttrib
-
-
Constructor Details
-
Shader
-
-
Method Details
-
isStatic
public boolean isStatic() -
getShaderProgram
-
setTexture
-
getID
public int getID() -
Start
public void Start() -
End
public void End() -
startCharacter
-
updateAlpha
-
setAlpha
public void setAlpha(float alpha) -
updateParams
public void updateParams() -
setMatrixPalette
public void setMatrixPalette(org.lwjgl.util.vector.Matrix4f[] skin) -
setMatrixPalette
-
setMatrixPalette
-
setMatrixPalette
public void setMatrixPalette(org.joml.Matrix4f[] skin) -
setTint
public void setTint(float x, float y, float z) -
setTextureRustA
public void setTextureRustA(float a) -
setTexturePainColor
public void setTexturePainColor(float x, float y, float z, float a) -
setTexturePainColor
public void setTexturePainColor(org.joml.Vector3f vec, float a) -
setTexturePainColor
public void setTexturePainColor(org.joml.Vector4f vec) -
setReflectionParam
public void setReflectionParam(float timesOfDay, float refWindows, float refBody) -
setTextureUninstall1
public void setTextureUninstall1(float[] matrix4f) -
setTextureUninstall2
public void setTextureUninstall2(float[] matrix4f) -
setTextureLightsEnables1
public void setTextureLightsEnables1(float[] matrix4f) -
setTextureLightsEnables2
public void setTextureLightsEnables2(float[] matrix4f) -
setTextureDamage1Enables1
public void setTextureDamage1Enables1(float[] matrix4f) -
setTextureDamage1Enables2
public void setTextureDamage1Enables2(float[] matrix4f) -
setTextureDamage2Enables1
public void setTextureDamage2Enables1(float[] matrix4f) -
setTextureDamage2Enables2
public void setTextureDamage2Enables2(float[] matrix4f) -
setMatrixBlood1
public void setMatrixBlood1(float[] matrix1, float[] matrix2) -
setMatrixBlood2
public void setMatrixBlood2(float[] matrix1, float[] matrix2) -
setShaderAlpha
public void setShaderAlpha(float a) -
setLight
public void setLight(int index, float x, float y, float z, float r, float g, float b, float rad, float animPlayerAngle, ModelInstance inst) -
setLight
public void setLight(int index, float x, float y, float z, float r, float g, float b, float rad, float animPlayerAngle, float offsetX, float offsetY, float offsetZ, IsoMovingObject instObject) -
setHueShift
public void setHueShift(float hue) -
setLightingAmount
public void setLightingAmount(float lighting) -
setDepthBias
public void setDepthBias(float bias) -
setAmbient
public void setAmbient(float amb) -
setAmbient
public void setAmbient(float ambr, float ambg, float ambb) -
setTransformMatrix
public void setTransformMatrix(org.lwjgl.util.vector.Matrix4f matrix4f, boolean transpose) -
setTransformMatrix
public void setTransformMatrix(org.joml.Matrix4f matrix4f, boolean transpose) -
setMatrix
public void setMatrix(int location, org.joml.Matrix4f matrix4f) -
setMatrix
public void setMatrix(int location, float[] matrix4f) -
isVehicleShader
public boolean isVehicleShader()
-