java.lang.Object
de.grogra.glsl.material.channel.GLSLChannelMap
de.grogra.glsl.material.channel.GLSLChannelMapNode
de.grogra.glsl.material.channel.GLSLChecker
Implementation of the surface-shader: Checker. Will return 'higher' return
type of both associated colors. Also implements antialiasing.
- Author:
- Konni Hartmann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(ChannelMap channelMap, MaterialConfiguration config, GLSLChannelMap inputChannelMap, int channel) This should be used instead of the other oneboolean
Methods inherited from class de.grogra.glsl.material.channel.GLSLChannelMap
generateResult, generateResult, generateResultWithChannelDefault, getGLSLObject, getMaxResultType, initMap
-
Constructor Details
-
GLSLChecker
public GLSLChecker()
-
-
Method Details
-
generate
public Result generate(ChannelMap channelMap, MaterialConfiguration config, GLSLChannelMap inputChannelMap, int channel) Description copied from class:GLSLChannelMap
This should be used instead of the other one- Specified by:
generate
in classGLSLChannelMap
- Returns:
-
instanceFor
- Specified by:
instanceFor
in classGLSLChannelMap
-
mayDiscard
public boolean mayDiscard()- Overrides:
mayDiscard
in classGLSLChannelMap
-