thebookofshaders icon indicating copy to clipboard operation
thebookofshaders copied to clipboard

License of examples

Open EnigmaCurry opened this issue 5 years ago • 2 comments

I'm reading chapter 7 and it has this very nice example of a circle function, with the chapter sub-heading of For your toolbox. This is implying to me that I should create my own library and use this function as a basis. I love that idea! So I found that the book is hosted here on github, and I look for the LICENSE, as I would very much like to credit the code to its original author.

However, the LICENSE file right now just says Copyright... All rights reserved. So I don't feel comfortable using the examples in my own code that I would like be able to license MIT.

I can understand not wanting the book text to be MIT, but perhaps make an exception for the examples? Otherwise its ambiguous to free software users on what the intent is (especially since this is on github.) I almost want to not read the code examples in this book, for fear that I won't be able to license my own code properly if I use them.

Fantastic book btw, thank-you!

EnigmaCurry avatar Feb 15 '19 15:02 EnigmaCurry

Hi! Good point! Please use the examples of the book as you please and make sure to give proper attribution. The LICENSE as you point is for the text. Thanks for pointing this out. I will see how I can disambiguate this issue. Thanks

patriciogonzalezvivo avatar Mar 15 '19 13:03 patriciogonzalezvivo

Did you ever add a license for the code? MIT? BSD? GPL? Please note Creative Commons says in their faq that Creative Commons licenses are not intended for code

greggman avatar Dec 10 '20 09:12 greggman