Skip to content

Glsl150ShaderGenerator should include GLSLCompat for GLES3 #2398

@riccardobl

Description

@riccardobl

Glsl150ShaderGenerator should include GLSLCompat in the shaders, or otherwise manually set the default precisions otherwise shadernodes for GLES3 will fail compilation with

com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Default.frag, defines, type=Fragment, language=GLSL300]
ERROR: 0:11: '' : No precision specified for (float)
ERROR: 0:13: '' : No precision specified for (float)
ERROR: 0:14: '' : No precision specified for (float)
ERROR: 0:15: '' : No precision specified for (float)
 ...

Metadata

Metadata

Labels

AndroidbugSomething that is supposed to work, but doesn't. More severe than a "defect".diff:very-easy

Type

No type
No fields configured for issues without a type.

Projects

Status
tracked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions