In this episode I will talk all about vertex shaders, rasterizers, fragment shaders and how they all work together to render graphics.
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
• Swift Game Engine Tutorial With Metal...
Become A Patron:
/ 2etime
I really do appreciate everyone in this community! Thank you all!
Apple Hello Triangle
https://developer.apple.com/documenta...
Full Engine Code:
https://github.com/twohyjr/Metal-Game...
Episode Source Code:
https://github.com/twohyjr/Metal-Game...
Discord:
/ discord
Sweet Standing Desks: http://bit.ly/2XxH13m