-
Notifications
You must be signed in to change notification settings - Fork 32
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
Split demo and shaders into seperate repos? #15
Comments
Hi @MenacingMecha, why not provide shaders as addon (under an |
I did consider this at one point, but found the workflow a little too messy after looking into it. Plus, if they were to be on the asset library, I'd also want the demo available as it's own separate template entry. Splitting the shaders into a separate repo and organising them in a way where they can be distributed on the asset library is a good shout, though. Worst case, there could always be a separate repo driven by CI magic solely for packaging for asset library. |
Example of separate demos causing duplicated labour: |
Sorry, I may have strayed off topic by adding the notion of addon 😅 But that's because for me a template isn't really interesting, and will be unique to each developer. If someone uses a template, he'll modify the files, reorganize them ... and it's harder to update or fix the template retrieved from git. That's why I think making an addon is cleaner, because you'll really have something separate. In my opinion, the two repositories should be merged, and the merged repository should look like what the goat template is intended to do, migrated for use as an addon (miskatonicstudio/goat#303). There's always the demo, but we could give developers something modular (shaders + scenes + resources ...), which would allow them to recreate the demo in their own project, with their own assets, whether they wanted to do psx or n64 style. This avoids duplication of code, for the demo and shaders ( My opinion is very personal, because I think you don't want to merge the two shader repositories ? If such is the case, then yes, I think that making a third repository for the demo/template is a good idea 👍 |
No, not at all - it's something I didn't think about, and would be a good change for how (I think) most users interact with this.
Reviewing the shader code more closely, they are very very similar, and definitely would benefit from being merged into one location with further shader includes. As addons can't be used without duplicating the contents, and the goal here is to reduce duplication, I think I will go ahead with having a separate repo that packages the shaders for the asset store. In summary
|
Looking for thoughts and feedback on if the demo should be split from the shaders, and include the shaders in the demo by way of git submodules.
Main reasoning for this would be to help with ease of adding to projects. As it stands, users have to copy-paste individual files, which is both messier than it could be, and often includes a lot of assets that users won't need for their projects.
Additionally, we could reduce copied work even further by merging the demos for the PSX and N64 shaders, while keeping the shaders separate in submodules.
Main drawback I can think of is it would complicate where to leave issues, but I don't think that'd be much of an issue.
Thoughts?
The text was updated successfully, but these errors were encountered: