Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 1 addition & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Blocks

![](doc/image1.png)
![](image.png)

Tiny Minecraft clone in C and HLSL using the new SDL3 GPU API

Expand Down Expand Up @@ -61,41 +61,12 @@ To build locally, add [SDL_shadercross](https://github.com/libsdl-org/SDL_shader
### Passes

1. Render opaques to depth texture (for shadows)

![](doc/image2.png)

2. Render sky to G-buffer

![](doc/image3.png)

3. Render opaques to G-buffer

![](doc/image4.png)

4. Calculate SSAO

![](doc/image5.png)

5. Blur SSAO

![](doc/image6.png)

6. Composite G-buffer

![](doc/image7.png)

7. Render transparents to depth teture (for predepth)

![](doc/image8.png)

8. Render transparents and composite

![](doc/image9.png)

9. Render raycast

![](doc/image10.png)

10. Render UI

![](doc/image11.png)
Binary file removed doc/image1.png
Binary file not shown.
Binary file removed doc/image10.png
Binary file not shown.
Binary file removed doc/image11.png
Binary file not shown.
Binary file removed doc/image2.png
Binary file not shown.
Binary file removed doc/image3.png
Binary file not shown.
Binary file removed doc/image4.png
Binary file not shown.
Binary file removed doc/image5.png
Binary file not shown.
Binary file removed doc/image6.png
Binary file not shown.
Binary file removed doc/image7.png
Binary file not shown.
Binary file removed doc/image8.png
Binary file not shown.
Binary file removed doc/image9.png
Binary file not shown.
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.