├── images ├── chapter3.jpg └── chapter5.jpg ├── BookofShaders_Examples_v00.02.hiplc ├── LICENSE └── README.md /images/chapter3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JosephFiola/BookofShadersHoudiniVex/HEAD/images/chapter3.jpg -------------------------------------------------------------------------------- /images/chapter5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JosephFiola/BookofShadersHoudiniVex/HEAD/images/chapter5.jpg -------------------------------------------------------------------------------- /BookofShaders_Examples_v00.02.hiplc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JosephFiola/BookofShadersHoudiniVex/HEAD/BookofShaders_Examples_v00.02.hiplc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Patricio Gonzalez Vivo ( http://www.patriciogonzalezvivo.com ) 4 | 5 | Houdini Vex port by Joseph Fiola ( http://www.joefiola.com ) 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of 8 | this software and associated documentation files (the "Software"), to deal in 9 | the Software without restriction, including without limitation the rights to 10 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 11 | the Software, and to permit persons to whom the Software is furnished to do so, 12 | subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in all 15 | copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 19 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 20 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 21 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # The Book of Shaders in Houdini Vex 2 | 3 | 4 | [Patricio Gonzalez Vivo's The Book of Shaders](http://thebookofshaders.com) is one of the best resources out there to learn how to code GLSL shaders. I use it extensively to create [ISF shaders in VDMX](https://github.com/JosephFiola/SaturdayShaders). 5 | 6 | With the intention of eventually porting my [Saturday Shaders](https://github.com/JosephFiola/SaturdayShaders) project over to [Houdini Vex](https://www.sidefx.com/docs/houdini15.5/vex/_index) I've started to go through the [The Book of Shaders](http://thebookofshaders.com) examples in order to learn how. 7 | 8 | _While Houdini does support GLSL code to render shaders into the viewport, I have not implemented this yet. For now these examples are only visible in the render view using the Ray Tracing render engine._ 9 | 10 | --- 11 | ###Chapters completed so far 12 | **[Chapter 3 - Uniforms](http://thebookofshaders.com/03/)** 13 | 14 | While uniforms like gl\_FragCoord aren't really applicable to Vex Shaders, this chapter was handy in figuring out how to get the **u\_time** paramater to work in Vex as well as getting UVs to work (which I'm guessing is pretty much what gl\_FragCoord.xy is). 15 | 16 | ![MacDown Screenshot](images/chapter3.jpg) 17 | 18 | **[Chapter 5 - Shaping Functions](http://thebookofshaders.com/05/)** 19 | ![MacDown Screenshot](images/chapter5.jpg) 20 | --- --------------------------------------------------------------------------------