《阴影之书》
The Book of Shaders (2015)

原始链接: https://thebookofshaders.com/

Patricio Gonzalez Vivo和Jen Lowe的《着色器之书》是一本全面的、循序渐进的片段着色器指南,旨在使这个复杂的主题变得容易理解。这本书涵盖了广泛的主题,从基本的算法绘图和生成设计到高级3D图形技术,如光线行进、法线贴图和环境贴图。它还深入研究了图像处理、纹理、内核卷积、过滤器、模拟(包括康威的《生命游戏》)和各种视觉效果。 Patricio Gonzalez Vivo是一名艺术家和开发人员,Jen Lowe是一名数据科学家和沟通者。这本书包括一个示例库、一个术语表和附录,为读者提供了多种学习和探索的方法。全球社区支持该项目,并将其翻译成多种语言。这本书可以在网上找到,并通过时事通讯、推特、Mastodon和Discord提供更新和其他资源。

The Hacker News discussion revolves around "The Book of Shaders" (2015), a popular but unfinished resource for learning shader programming. Commenters acknowledge its value as a gentle introduction, particularly for WebGL, but lament its incomplete state and lack of updates. Alternative resources like "A Journey into Shaders" and Iñigo Quilez's articles are recommended. The conversation also touches on the evolution of shader technology, with some arguing that fragment shaders are over-romanticized compared to compute shaders in modern graphics. Specific challenges in WebGL, like the lack of compute shaders due to past decisions and debugging tool limitations, are mentioned. Some users suggest using AI tools to accelerate learning. A user requests WebGPU/wgpu learning resources for those without prior OpenGL/WebGL/Vulkan experience, highlighting the current resource scarcity for these newer technologies.
相关文章

原文

by Patricio Gonzalez Vivo and Jen Lowe

This is a gentle step-by-step guide through the abstract and complex universe of Fragment Shaders.

Contents

  • About this book

  • Getting started

  • Algorithmic drawing

  • Generative designs

  • Image processing

    • Textures
    • Image operations
    • Kernel convolutions
    • Filters
    • Others effects
  • Simulation

    • Pingpong
    • Conway
    • Ripples
    • Water color
    • Reaction diffusion
  • 3D graphics

    • Lights
    • Normal-maps
    • Bump-maps
    • Ray marching
    • Environmental-maps (spherical and cube)
    • Reflect and refract
  • Appendix: Other ways to use this book

  • Examples Gallery

  • Glossary

About the Authors

Patricio Gonzalez Vivo (1982, Buenos Aires, Argentina) is a New York based artist and developer. He explores interstitial spaces between organic and synthetic, analog and digital, individual and collective. In his work he uses code as an expressive language with the intention of developing a better together.

Patricio studied and practiced psychotherapy and expressive art therapy. He holds an MFA in Design & Technology from Parsons The New School, where he now teaches. Currently he works as a Graphic Engineer at Mapzen making openSource mapping tools.

Jen Lowe is an independent data scientist and data communicator at Datatelling where she brings together people + numbers + words. She teaches in SVA's Design for Social Innovation program, cofounded the School for Poetic Computation, taught Math for Artists at NYU ITP, researched at the Spatial Information Design Lab at Columbia University, and contributed ideas at the White House Office of Science and Technology Policy. She's spoken at SXSW and Eyeo. Her work has been covered by The New York Times and Fast Company. Her research, writing, and speaking explore the promises and implications of data and technology in society. She has a B.S. in Applied Math and a Master's in Information Science. Often oppositional, she's always on the side of love.

Acknowledgements

Thanks Scott Murray for the inspiration and advice.

Thanks Kenichi Yoneda (Kynd), Nicolas Barradeau, Karim Naaji for contributing with support, good ideas and code.

Thanks Kenichi Yoneda (Kynd) and Sawako for the Japanese translation (日本語訳)

Thanks Tong Li and Yi Zhang for the Chinese translation (中文版)

Thanks Jae Hyun Yoo and June Kim for the Korean translation (한국어)

Thanks Nahuel Coppero (Necsoft) for the Spanish translation (español)

Thanks Raphaela Protásio and Lucas Mendonça for the Portuguese translation (portugues)

Thanks Nicolas Barradeau and Karim Naaji for the French translation (français)

Thanks Andrea Rovescalli for the Italian translation (italiano)

Thanks Michael Tischer for the German translation (deutsch)

Thanks Sergey Karchevsky for the Russian translation (russian)

Thanks Vu Phuong Hoang for the Vietnamese translation (Tiếng Việt)

Thanks Wojciech Pachowiak for the Polish translation (polski)

Thanks Manoylov Andriy for the Ukrainian translation (український переклад)

Thanks Andy Stanton for fixing and improving the pdf/epub export pipeline

Thanks to everyone who has believed in this project and contributed with fixes or donations.

Get new chapters

Sign up for the news letter or follow it on Twitter / Mastodon / Discord

LICENSE

Copyright (c) Patricio Gonzalez Vivo, 2015 - http://patriciogonzalezvivo.com/ All rights reserved.

联系我们 contact @ memedata.com