Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support got GLSL files #2079

Closed
joewood opened this issue May 4, 2017 · 3 comments
Closed

Add support got GLSL files #2079

joewood opened this issue May 4, 2017 · 3 comments

Comments

@joewood
Copy link

joewood commented May 4, 2017

Related to #1517. Right now the only option for using GLSL shader files is to expose the shader as a string. Many editors provide good extension support for writing shaders. Using a Javascript string means missing out on syntax coloring and other analysis by the editor.

It would be much better to add default support for GLSL files via the raw-loader.

@Bjvanminnen
Copy link

Agree that this would be useful. In the meantime, I've managed to work around the issue by telling my editor to treat the file as if it were glsl (despite technically being js). I suspect this is an option in many editors, but in atom and vs code I was able to do so by clicking on the language in the lower right of the window. Hope this helps :)
image

@Timer
Copy link
Contributor

Timer commented Aug 2, 2017

Merging with #1944.

@Timer Timer closed this as completed Aug 2, 2017
@gaearon
Copy link
Contributor

gaearon commented Jan 9, 2018

See also: #3722.

@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants