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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ChannelMap channelMap, MaterialConfiguration config, GLSLChannelMap inputChannelMap, int channel) This should be used instead of the other onebooleanMethods 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:GLSLChannelMapThis should be used instead of the other one- Specified by:
generatein classGLSLChannelMap- Parameters:
channelMap-config-inputChannelMap-channel-- Returns:
-
instanceFor
- Specified by:
instanceForin classGLSLChannelMap
-
mayDiscard
public boolean mayDiscard()- Overrides:
mayDiscardin classGLSLChannelMap
-