HLSL Viewport Clamping trick

Jul 8, 2019 - 4 minutes
Time to render that sweet skybox but how to avoid overdraw? The skybox problem I always found a skybox an incredible tool to increase the quality of your scene, as soon as you add a skybox everything looks better, even lighting altough probably that is just my brain playing tricks. When I got to the point of rendering a skybox in my DX12 game engine I went the quick and hacky way, just render a big enough spehere and be done with it. Read more ...

AMD GCN ISA: a first dive

Mar 10, 2019 - 13 minutes
You want to learn more about GCN but where to start? Where to start I always liked optimizing and disassembling code. When trying to do that on GPU, the result is mixed. It is often hard to do because the information is simply not available (on PC) and you can’t really see the machine code easily. That is more or less true depending on the API you are using, you can for example see CUDA disassembly but you don’t have the ISA to understand the instructions and/or arguments/registers. Read more ...

Game engine resource compiler architecture.

Jan 12, 2019 - 5 minutes
Planning the architecture for my first game engine resource compiler The ugly model loader If you are not interested in how I ended up with a crappy model loader, jump to the resource compiler section. Since I started working with OpenGL, almost five years ago, I wrote a super simple and ugly model obj loader. The main issue was that tinyobj loader would give me back multiple index buffers, one per geometry attribute. Read more ...