Visit to get started learning STEM for free! The first 200 people will get 20% off their annual premium subscription.
Patreon ►
Instagram ►
Twitter ►
Discord ►
Code ►
Send an email to chernoreview@ with your source code, a brief explanation, and what you need help with/want me to review and you could be in the next episode of my Code Review series! Also let me know if you would like to remain anonymous.
CHAPTERS
0:00 - Rendering lots of grass in OpenGL
2:55 - Diving into the code
10:12 - Instantiating objects in C vs C#/Java
11:35 - Shader class
12:12 - Variable naming conventions
13:25 - Initializing variables
15:03 - Some notes on strings
15:30 - Pass larger types by const reference
16:45 - Using correct types
17:48 - Strings in C and std::string_view
20:48 - .obj format
22:38 - Grass mesh
23:44 - Rendering meshes
24:24 - General notes and C code style
25:35 - Grass rendering and shaders
26:32 - Handling a time variable for shaders
27:14 - Storage buffers in OpenGL
28:25 - Reduce complexity in hot code paths
29:00 - How grass is actually rendered
29:50 - Grass vertex shader
32:11 - Use mat3 instead of mat4
33:13 - Reduce vertex shader complexity
34:22 - Don’t reallocate GPU buffers
35:28 - Inspecting rendering using Nvidia Nsight
37:13 - Set buffer data instead of reallocating
39:36 - Grass fragment shader improvements
41:46 - Adding variance to grass blade color
This video is sponsored by Brilliant.
#CodeReview
1 view
0
0
2 months ago 00:07:39 1
VISION -- EMPTY ROAD
2 months ago 01:05:54 18
Master Class: Being a Tech Art Detective
2 months ago 00:40:04 1
Backrooms - Eternal Suburbia (Level 94)
3 months ago 00:05:10 5
REVisited - Trailer 2
3 months ago 00:01:14 2
REALISM \\ Fields + Forests [Official Trailer]
3 months ago 00:48:25 1
3D Modeling & Rendering - LOWPOLY ENVIRONMENT in BLENDER
3 months ago 02:57:39 1
Завоевания Генриха V ⚔️ Столетняя война (части 5-9) // Маховик Истории
3 months ago 00:01:31 140
Dragon Utopia (Heroes of Might and Magic fan art)
3 months ago 00:02:34 1
Optimus Prime V.S. Skywarp | Fight Animation
3 months ago 00:36:44 1
Enscape render 4.1 - Best Exterior Rendering
3 months ago 00:07:55 10
RaceRoom Graphics Update 2024 | BMW M4 GT4 - Nordschleife
3 months ago 00:06:53 1
Suspect Gets Shot After Exchanging Gunfire With an Oregon State Police Trooper
4 months ago 00:06:35 1
RaceRoom Graphics Update 2024 | Audi R8 LMS GT3 Evo II - Bathurst
4 months ago 03:00:14 1
Calm Before the Storm Ambience (New Version) | Distant Thunder | Warm, Balmy & Windy | 3 HOURS