Skip to content

ShaderMaterial bug (GL_OES_standard_derivatives) #3145

@MKHenson

Description

@MKHenson

Hi guys - I think i found a bug in the Shader Material. I have re-created the bug on this jsFiddle:

http://jsfiddle.net/ABlueEyedMonkey/NwgKs/1/

Not too sure how/why this happening, but if you use a shader material and use the function 'dFdx' the tool crashes.

If you comment this line out:
"vec2 dSTdx = dFdx( vec2(1.0, 1.0) );",

Then the shader works.

Is there some kind of initialization that needs to happen to get GL_OES_standard_derivatives initialized?

This issue is related to #3140

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions