This repository has been archived by the owner on Mar 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
FragmentShader
allotrop3 edited this page Aug 17, 2015
·
9 revisions
A fragment shader is a shader of type gl.FRAGMENT_SHADER
and used to maintain the source code strings that define a shader executable on the programmable fragment processor.
new Four.FragmentShader({ name, selector* })
Name | Type | Default | Description |
---|---|---|---|
name |
string |
fragment.shader |
Specifies the entities friendly name. |
selector |
string |
Specifies a css class selector that points to the location of the shader in the HTML. |
Four is currently at version 0.1.0a (alpha) to allow for early usability feedback and address any bugs.