Reader small image

You're reading from  Become a Unity Shaders Guru

Product typeBook
Published inJul 2023
Reading LevelN/a
PublisherPackt
ISBN-139781837636747
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Mina Pêcheux
Mina Pêcheux
author image
Mina Pêcheux

Mina Pêcheux is a freelance content creator who has been passionate about game development since an early age. She is a graduate of the French Polytech School of Engineering in applied mathematics and computer science. After a couple of years of working as a data scientist and web developer in startups, she turned to freelancing and online instructional content creation to reconnect with what brightens her days: learning new things everyday, sharing with others and creating multi-field projects mixing science, technology, and art.
Read more about Mina Pêcheux

Right arrow

Understanding the principles and limitations of geometry shaders

First things first, we’re going to start this chapter by having a quick look at the foundational principles of geometry shaders and their most important limitations. In particular, we’ll focus on the specific cases of the macOS X and iOS platforms, which don’t deal well with this type of code and have to be taken into consideration for cross-platform compatibility.

What are geometry shaders?

Geometry shaders are a special type of shaders that, in addition to the usual vertex and fragment stages, also contain an additional step in the render process – the geometry stage.

Contrary to vertex and fragment shader functions, the geometry shader function is totally optional. As we saw throughout this book, there are indeed many effects and renders that can be achieved without using this stage in the shader code. However, if you want to change the geometry of your meshes in depth and you need...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Become a Unity Shaders Guru
Published in: Jul 2023Publisher: PacktISBN-13: 9781837636747

Author (1)

author image
Mina Pêcheux

Mina Pêcheux is a freelance content creator who has been passionate about game development since an early age. She is a graduate of the French Polytech School of Engineering in applied mathematics and computer science. After a couple of years of working as a data scientist and web developer in startups, she turned to freelancing and online instructional content creation to reconnect with what brightens her days: learning new things everyday, sharing with others and creating multi-field projects mixing science, technology, and art.
Read more about Mina Pêcheux