Week 18 Day 1 - Shaders, Rasterization
Today we did a brief introduction to shaders, which is a name for small programs which run on the GPU. There's two main types of shaders - vertex shaders (that can move vertices around) and fragment shaders (that can be used to do all sorts of neat effects on surfaces). I showed y'all Shadertoy which is a website that allows you to write and run simple shaders in real time on a website, and then dipped back into UE4 to show that the material graph editor we were doing earlier in the semester was a vertex and pixel (sorry, fragment) shader with a nicer interface.
I finished off by doing a bit of a review on how to get blueprints to talk to each other, as that's often the sticking point for a lot of students' projects.
We went into extra innings when Walker came on, and he was gracious enough to give us half an hour of his time showing what UE4 C++ looks like, and how you have to add macros (like UPROPERTY, etc.) to them so that blueprints and the C++ code can interoperate.
Other Videos By Bill Kerney
2021-07-07 | Week 1 Day 1 - Voroni Diagrams |
2021-07-07 | Week 1 Lecture 2 - Intro to Unreal Engine |
2021-07-07 | Week 1 Day 1 - Welcome to IS50A |
2021-05-15 | Week 18 - Bounding Volume Hierarchies |
2021-05-14 | Week 18 Day 3 - Use Cases |
2021-05-13 | Week 18 Day 2 - Final Presentations |
2021-05-13 | Week 18 Day 2 - Hyperthreading |
2021-05-12 | Week 18 Day 2 - Graph Adjacency Lists |
2021-05-12 | CSCI 41 Study Session: BSTs |
2021-05-12 | Week 17 Day 2 - The Development Process and AI |
2021-05-11 | Week 18 Day 1 - Shaders, Rasterization |
2021-05-11 | Week 18 Day 1 - Sockets Programming |
2021-05-10 | Week 18 Day 1 - EC, BST deletes, Graphs |
2021-05-08 | Week 17 - Making a 2.5D Game (Wolfenstein-style) from Scratch |
2021-05-08 | Week 17 Day 3 - Circular Arrays |
2021-05-07 | Week 17 Day 2 - Being a Sysadmin |
2021-05-05 | Week 17 Day 2 - Threads and Sockets Part II |
2021-05-05 | Week 16 Day 2 - Final Review |
2021-05-04 | Week 17 Day 1 - Relays and Transistors |
2021-05-04 | Week 16 Day 1 - Netiquette |
2021-05-03 | Week 17 Day 1 - Threads and Sockets Programming |