Click here to Skip to main content
15,879,239 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Santhosh G,

I've seen your post "Pixel Shader for Edge Detection and Cartoon Effect" and I find it very useful.
A question regarding use of the example code.
Can I use modified parts of it (shader code) in my commercial product (adding credits in the about information)?

Thank you for sharing
Best regards
Reidar Tronstad

What I have tried:

I have read "The Code Project Open License (CPOL) 1.02"
Posted
Updated 4-Oct-21 5:43am

If you have a question about an article then please use the forum at the end of the article, so the author gets notified.

The chances of them happening to see this question are not high.
 
Share this answer
 
As Richard says, posting this here isn't the right place - there are 15,049,311 members here, all of whom are allowed to submit articles for moderation before publication and the chances of the specific article's author seeing this question are valishingly remote. Asking questions at the end of the article is much more likely to get you a result.

But ... the CPOL[^] is pretty clear on this:
Quote:
  • Source Code and Executable Files can be used in commercial applications;
  • Source Code and Executable Files can be redistributed;
  • Source Code can be modified to create derivative works.

  • And:
    Quote:
    You may otherwise modify Your copy of this Work (excluding the Articles) in any way to create a Derivative Work, provided that You insert a prominent notice in each changed file stating how, when and where You changed that file.

    And:
    Quote:
    You agree not to remove any of the original copyright, patent, trademark, and attribution notices and associated disclaimers that may appear in the Source Code or Executable Files.

    Basically it's saying "play nice, refer to the article in your source code comments with the relevant code fragments so others can see where it came from".
    Just civilized behaviour is all.

    Oh, and a "Thank you!" is always appreciated! :D
     
    Share this answer
     
    v2

    This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



    CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900