没有合适的资源?快使用搜索试试~ 我知道了~
首页Practical Shader Development_ Vertex and Fragment Shaders
本书是为数不多的讲解有关渲染从原理到实战的一本书,既重视理论上的讲解,又有大量的示例,通过对本书的深入学习,及时Shader不会写的小白也能写出画面酷炫的Shader代码出来,并且能深入理解各种酷炫技术的底层原理,当然本书是英文的,适合英语达标的读者阅读。
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/11117261/bg1.jpg)
Practical Shader
Development
Vertex and Fragment Shaders for
Game Developers
—
Kyle Halladay
![](https://csdnimg.cn/release/download_crawler_static/11117261/bg2.jpg)
Practical Shader
Development
Vertex and Fragment Shaders for
Game Developers
KyleHalladay
![](https://csdnimg.cn/release/download_crawler_static/11117261/bg3.jpg)
Practical Shader Development: Vertex and Fragment Shaders for Game Developers
ISBN13 pbk: 9781484244562 ISBN-13 (electronic): 9781484244579
https://doi.org/10.1007/978-1-4842-4457-9
Copyright © 2019 by Kyle Halladay
is work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microlms or in any other physical way, and transmission or information
storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now
known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benet of the trademark owner, with no intention of infringement of the
trademark.
e use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not
identied as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. e publisher makes no warranty, express or implied, with respect to the
material contained herein.
Managing Director, Apress Media LLC: Welmoed Spahr
Acquisitions Editor: Jonathan Gennick
Development Editor: Laura Berendson
Coordinating Editor: Jill Balzano
Cover image designed by Freepik (www.freepik.com)
Distributed to the book trade worldwide by Springer Science+Business Media NewYork, 233 Spring Street,
6th Floor, NewYork, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-
sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member
(owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a
Delaware corporation.
For information on translations, please e-mail rights@apress.com, or visit www.apress.com/
rights-permissions.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and
licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales
web page at www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available to
readers on GitHub via the book's product page, located at www.apress.com/9781484244562. For more
detailed information, please visit www.apress.com/source-code.
Printed on acid-free paper
KyleHalladay
Bristol, UK
![](https://csdnimg.cn/release/download_crawler_static/11117261/bg4.jpg)
To my wife, Sarah.
![](https://csdnimg.cn/release/download_crawler_static/11117261/bg5.jpg)
v
About the Author ................................................................................................... xiii
About the Technical Reviewer .................................................................................xv
Acknowledgments .................................................................................................xvii
Introduction ............................................................................................................xix
Table of Contents
Chapter 1: Hello, Game Graphics .............................................................................. 1
What Is Rendering? ����������������������������������������������������������������������������������������������������������������������� 1
What Is a Mesh? ��������������������������������������������������������������������������������������������������������������������������� 2
Vectors 101 ����������������������������������������������������������������������������������������������������������������������������������� 4
Dening a Color in Computer Graphics ��������������������������������������������������������������������������������������� 10
The Rendering Pipeline ��������������������������������������������������������������������������������������������������������������� 12
What Is a Shader? ����������������������������������������������������������������������������������������������������������������������� 14
Summary������������������������������������������������������������������������������������������������������������������������������������� 15
Chapter 2:
Your First Shaders ................................................................................. 17
Setting Things Up on Windows���������������������������������������������������������������������������������������������������� 18
Setting Up Our Project����������������������������������������������������������������������������������������������������������������� 18
Creating Your First Triangle ��������������������������������������������������������������������������������������������������������� 20
Your First Vertex Shader �������������������������������������������������������������������������������������������������������������� 22
The #version Preprocessor Directive ������������������������������������������������������������������������������������� 23
GLSL’s in Keyword ����������������������������������������������������������������������������������������������������������������� 23
GLSL’s vec Data Types ����������������������������������������������������������������������������������������������������������� 24
Writing to gl_Position ������������������������������������������������������������������������������������������������������������ 24
Normalized Device Coordinates��������������������������������������������������������������������������������������������� 25
剩余390页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/default.jpg!1)
weixin_42109031
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- 藏经阁-应用多活技术白皮书-40.pdf
- 藏经阁-阿里云计算巢加速器:让优秀的软件生于云、长于云-90.pdf
- 藏经阁-玩转AIGC与应用部署-92.pdf
- 藏经阁-程序员面试宝典-193.pdf
- 藏经阁-Hologres 一站式实时数仓客户案例集-223.pdf
- 藏经阁-一站式结构化数据存储Tablestore实战手册-206.pdf
- 藏经阁-阿里云产品九月刊-223.pdf
- 藏经阁-2023云原生实战案例集-179.pdf
- 藏经阁-Nacos架构&原理-326.pdf
- ZTE电联中频一张网配置指导书
- 企业级数据治理之数据安全追溯
- MISRA-C 2012-中文翻译版.pdf
- 藏经阁-《多媒体行业质量成本优化及容灾方案白皮书》-37.pdf
- 藏经阁-浅谈阿里云通用产品线Serverless的小小演化史-23.pdf
- 藏经阁-冬季实战营第一期:从零到一上手玩转云服务器-44.pdf
- 藏经阁-云上自动化运维宝典-248.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)