new EffectPass(vertexShader, fragmentShader)
Parameters:
Name | Type | Description |
---|---|---|
vertexShader |
string | The vertex shader code for this pass's shader. |
fragmentShader |
string | The fragment shader code for this pass's shader. |