-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
I've been spending a ton of time and having lots of fun on neuralpatterns.io. Awesome project! But I noticed I could not use bitwise operators, not even bitwise AND:
ERROR: 0:56: '&' : bit-wise operator supported in GLSL ES 3.00 and above
I tried the directive #version 300 es but I got ERROR: 0:21: 'version' : #version directive must occur before anything else, except for comments and white space. I'm guessing the Activation code block is getting injected into part of a greater runtime.
I know next to nothing about GLSL so I have no idea if this is feasible with the runtime you are using or not. But it would be super awesome if the default shader used a slightly newer version. Maybe you could even add a field which lets a user pass preprocessor directives to compileShaders.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels