舉報

會員
OpenGL 4.0 Shading Language Cookbook
David Wolff 著
更新時間:2021-04-02 18:59:55
開會員,本書免費讀 >
最新章節:
Index
Thishands-onguidecutsshortthepreambleandgetsstraighttothepoint–actuallycreatinggraphics,insteadofjusttheoreticallearning.Eachrecipeisspecificallytailoredtosatisfyyourappetiteforproducingreal-time3-DgraphicsusingGLSL4.0.IfyouareanOpenGLprogrammerlookingtousethemodernfeaturesofGLSL4.0tocreatereal-time,three-dimensionalgraphics,thenthisbookisforyou.FamiliaritywithOpenGLprogramming,alongwiththetypical3Dcoordinatesystems,projections,andtransformationsisassumed.ItcanalsobeusefulforexperiencedGLSLprogrammerswhoarelookingtoimplementthetechniquesthatarepresentedhere.
最新章節
- Index
- Simulating smoke with particles
- Simulating fire with particles
- Creating a particle system using instanced particles
- Creating a particle system using transform feedback
- Creating a particle fountain
品牌:中圖公司
上架時間:2021-04-02 16:53:54
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Index 更新時間:2021-04-02 18:59:55
- Simulating smoke with particles
- Simulating fire with particles
- Creating a particle system using instanced particles
- Creating a particle system using transform feedback
- Creating a particle fountain
- Animating a surface with vertex displacement
- Introduction
- Chapter 9. Animation and Particles
- Creating a night-vision effect
- Creating a paint-spatter effect
- Creating a disintegration effect
- Creating a wood grain effect
- Creating a cloud-like effect
- Creating a seamless noise texture
- Creating a noise texture using libnoise
- Introduction
- Chapter 8. Using Noise in Shaders
- Improving realism with prebaked ambient occlusion
- Creating soft shadow edges with random sampling
- Anti-aliasing shadow edges with PCF
- Rendering shadows with shadow maps
- Introduction
- Chapter 7. Shadows
- Tessellating based on depth
- Tessellating a 3D surface
- Tessellating a 2D quad
- Tessellating a curve
- Drawing silhouette lines using the geometry shader
- Drawing a wireframe on top of a shaded mesh
- Point sprites with the geometry shader
- Introduction
- Chapter 6. Using Geometry and Tessellation Shaders
- Using deferred shading
- Using multisample anti-aliasing
- Using gamma correction to improve image quality
- Creating a "bloom" effect
- Applying a Gaussian blur filter
- Applying an edge detection filter
- Introduction
- Chapter 5. Image Processing and Screen Space Techniques
- Rendering to a texture
- Applying a projected texture
- Image-based lighting
- Simulating refraction with cube maps
- Simulating reflection with cube maps
- Using normal maps
- Using alpha maps to discard pixels
- Applying multiple textures
- Applying a 2D texture
- Introduction
- Chapter 4. Using Textures
- Simulating fog
- Creating a cartoon shading effect
- Simulating a spotlight
- Using the halfway vector for improved performance
- Using per-fragment shading for improved realism
- Shading with a directional light source
- Shading with multiple positional lights
- Introduction
- Chapter 3. Lighting Shading Effects and Optimizations
- Discarding fragments to create a perforated look
- Using subroutines to select shader functionality
- Implementing flat shading
- Implementing two-sided shading
- Using functions in shaders
- Implementing per-vertex ambient diffuse and specular (ADS) shading
- Implementing diffuse per-vertex shading with a single point light source
- Introduction
- Chapter 2. The Basics of GLSL Shaders
- Building a C++ shader program class
- Using uniform blocks and uniform buffer objects
- Getting a list of active uniform variables
- Sending data to a shader using uniform variables
- Getting a list of active vertex input attributes and indices
- Sending data to a shader using per-vertex attributes and vertex buffer objects
- Linking a shader program
- Compiling a shader
- Determining the GLSL and OpenGL version
- Using the GLM library for mathematics
- Using the GLEW Library to access the latest OpenGL functionality
- Introduction
- Chapter 1. Getting Started with GLSL 4.0
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Support files eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權信息
- 封面
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Getting Started with GLSL 4.0
- Introduction
- Using the GLEW Library to access the latest OpenGL functionality
- Using the GLM library for mathematics
- Determining the GLSL and OpenGL version
- Compiling a shader
- Linking a shader program
- Sending data to a shader using per-vertex attributes and vertex buffer objects
- Getting a list of active vertex input attributes and indices
- Sending data to a shader using uniform variables
- Getting a list of active uniform variables
- Using uniform blocks and uniform buffer objects
- Building a C++ shader program class
- Chapter 2. The Basics of GLSL Shaders
- Introduction
- Implementing diffuse per-vertex shading with a single point light source
- Implementing per-vertex ambient diffuse and specular (ADS) shading
- Using functions in shaders
- Implementing two-sided shading
- Implementing flat shading
- Using subroutines to select shader functionality
- Discarding fragments to create a perforated look
- Chapter 3. Lighting Shading Effects and Optimizations
- Introduction
- Shading with multiple positional lights
- Shading with a directional light source
- Using per-fragment shading for improved realism
- Using the halfway vector for improved performance
- Simulating a spotlight
- Creating a cartoon shading effect
- Simulating fog
- Chapter 4. Using Textures
- Introduction
- Applying a 2D texture
- Applying multiple textures
- Using alpha maps to discard pixels
- Using normal maps
- Simulating reflection with cube maps
- Simulating refraction with cube maps
- Image-based lighting
- Applying a projected texture
- Rendering to a texture
- Chapter 5. Image Processing and Screen Space Techniques
- Introduction
- Applying an edge detection filter
- Applying a Gaussian blur filter
- Creating a "bloom" effect
- Using gamma correction to improve image quality
- Using multisample anti-aliasing
- Using deferred shading
- Chapter 6. Using Geometry and Tessellation Shaders
- Introduction
- Point sprites with the geometry shader
- Drawing a wireframe on top of a shaded mesh
- Drawing silhouette lines using the geometry shader
- Tessellating a curve
- Tessellating a 2D quad
- Tessellating a 3D surface
- Tessellating based on depth
- Chapter 7. Shadows
- Introduction
- Rendering shadows with shadow maps
- Anti-aliasing shadow edges with PCF
- Creating soft shadow edges with random sampling
- Improving realism with prebaked ambient occlusion
- Chapter 8. Using Noise in Shaders
- Introduction
- Creating a noise texture using libnoise
- Creating a seamless noise texture
- Creating a cloud-like effect
- Creating a wood grain effect
- Creating a disintegration effect
- Creating a paint-spatter effect
- Creating a night-vision effect
- Chapter 9. Animation and Particles
- Introduction
- Animating a surface with vertex displacement
- Creating a particle fountain
- Creating a particle system using transform feedback
- Creating a particle system using instanced particles
- Simulating fire with particles
- Simulating smoke with particles
- Index 更新時間:2021-04-02 18:59:55