NOTE: To apply the alphaToCoverage, the output alpha value must not be fixed to constant value. However, some shaders in the Rhodonite fixes the output alpha value to 1 by setAlphaIfNotInAlphaBlendMode. So we need to improve the shader to use the alphaToCoverage.
NOTE: To apply the alphaToCoverage, the output alpha value must not be fixed to constant value. However, some shaders in the Rhodonite fixes the output alpha value to 1 by setAlphaIfNotInAlphaBlendMode. So we need to improve the shader to use the alphaToCoverage.
apply alphaToCoverage to this material or not
Gets materialTID.
Gets the objectUID of the object.
Get the unique name of the entity.
Gets the tag object.
The tag name.
Gets the value of the tag.
The tag name.
Gets the boolean value whether this object has the tag or not.
The tag name.
return whether the shader program ready or not
is shader program ready or not
Confirms the matching of the tag name and tag value.
The tag name.
The tag value.
Confirm that this object's tags includes given set of tags.
The set of tags.
Confirm that this object's tags includes given an array of string.
an array of string.
Remove the tag.
The tag name.
Change the blendEquations This method works only if this alphaMode is the translucent
the argument of gl.blendEquation of the first argument of gl.blendEquationSeparate such as gl.FUNC_ADD
the second argument of gl.blendEquationSeparate
Change the blendFuncFactors This method works only if this alphaMode is the translucent
Change the blendFuncSeparateFactors This method works only if this alphaMode is the translucent
Tries to set tag (name and value).
Try to set a unique name of the entity.
If true, force to add name string to the current unique name string. If false, give up to change name.
Validate the string of tags.
The string to be validated
Gets the object by corresponding to the objectUID.
The objectUID of the object.
Gets the object by the unique name.
The unique name of the object.
Generated using TypeDoc
The material class. This class has one or more material nodes.