Swift 3D Game Tutorial

3: Hello Triangle! | Swift Game Engine

Hide/Show description

In this episode I will go over how to take vertex information and process it using the GPU. Then I will show you how to render a white triangle to the screen. Also apple messed something up when they updated to catalina where for some reason the triangle doesn't look right. I promise that if you continue on it will fix itself. I have looked into a ton of other Metal Tutorial Blogs and found that they are also broken. To get rid of the simd deprecated issue you can add these lines of code to the top of your GameView.swift file. public typealias float2 = SIMD2<Float> public typealias float3 = SIMD3<Float> public typealias float4 = SIMD4<Float> Swift Game Engine Tutorial Playlist https://www.youtube.com/watch?v=PcA-VAybgIQ&list=PLEXt1-oJUa4BVgjZt9tK2MhV_DW7PVDsg Become A Patron: https://www.patreon.com/2etime I really do appreciate everyone in this community! Thank you all! Episode Source Code: https://github.com/twohyjr/Metal-Game-Engine-Tutorial/tree/master/Episode%20Project%20Files/Episode3.0_Rendering%20using%20the%20GPU Discord: https://discord.gg/hKPBTbC Enjoy!