patriciogonzalezvivo / thebookofshaders

Step-by-step guide through the abstract and complex universe of Fragment Shaders.

Home Page:http://TheBookOfShaders.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License of examples

EnigmaCurry opened this issue · 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!

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

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