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

projectGenerator ignores shader .vert and .frag files #1034

Open
damian0815 opened this issue Mar 4, 2012 · 3 comments
Open

projectGenerator ignores shader .vert and .frag files #1034

damian0815 opened this issue Mar 4, 2012 · 3 comments

Comments

@damian0815
Copy link
Contributor

If it finds .vert, .frag (and .geom?) files in the data/ folder, the project generator should make a new folder, in the project file, next to (or inside) src called data/ and add the files to it. (data/ so that beginners can find the files in Finder)

@obviousjim
Copy link
Contributor

are you suggesting this for when it adds addons?
I think this would be really cool. perhaps the project generator could look for a folder called data/ in the addon directory (next to src/ example/ and libs/) and copy all the contents into bin/data/ when that addon is added for the project.

@damian0815
Copy link
Contributor Author

no i mean in general. eg the examples/gl/shaderExample project is created without internal links to the .vert and .frag files, so you have to go into the data folder yourself and edit them with a text editor (and the fact that they are there, editable and text files is not at all apparent to a beginner).

@ofTheo
Copy link
Member

ofTheo commented Mar 12, 2012

this could easily be made to work for xcode - I often add my shaders to my project to make it easier to edit.
not sure about the other platforms though.

@kylemcdonald kylemcdonald added this to the 1.0.0 milestone Dec 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants