diff --git a/README.md b/README.md index 8e1db70..ed77c27 100644 --- a/README.md +++ b/README.md @@ -25,4 +25,4 @@ You should use a number of threads equal to the number of CPU cores. The `--init ![scene 2](assets/screenshot_3.png) # License -The ray tracer itself (main.c and camera.c) are MIT licensed. Everything else (other than 3p code) is released in the public domain. \ No newline at end of file +The ray tracer itself (main.c, camera.c, and shaders) are MIT licensed. Everything else (other than 3p code) is released in the public domain. \ No newline at end of file diff --git a/assets/screen.fs b/assets/screen.fs index 183e2dd..9484ad4 100644 --- a/assets/screen.fs +++ b/assets/screen.fs @@ -1,3 +1,21 @@ +/* +Copyright 2024 Francesco Cozzuto + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the “Software”), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ #version 330 core out vec4 FragColor; diff --git a/assets/screen.vs b/assets/screen.vs index 3f3feb6..7aa8811 100644 --- a/assets/screen.vs +++ b/assets/screen.vs @@ -1,3 +1,21 @@ +/* +Copyright 2024 Francesco Cozzuto + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the “Software”), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT +NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ #version 330 core layout (location = 0) in vec2 aPos; layout (location = 1) in vec2 aTexCoord;