Last time, we wrote a function that successfully generates a mesh for a UV sphere. We also made a user control which we can use to set the properties of the sphere, such as segmentation and size. Today, I'll continue and add a control for the smoothing angle, so that we can have smooth UV spheres. I'll also compute the UV coordinates and use those to texture the sphere.
(Red Episode)
Support Game Engine Series: https://patreon.com/gameengineseries
Discord: https://discord.gg/75ZmXwz
by Arash Khatami
-------------------------------------------------------------
#PrimalEngine #GameEngineSeries #GameEngineProgramming #TheGameEngineProgrammingSeries