zhenyan121 2906106597 feat: water rendering (#13)
* refactor: update water texture

* feat(gameplay): implement transparent block rendering with depth sorting

* fix(world): use camera pos for distance calculations, make water passable

* refactor(player): use ivec3 for block pass check

* feat(camera): add underwater detection

* feat(renderer): add underwater effect with framebuffer post-processing

* feat(block): add gas property and refactor solid block check

* fix(assets): set leaf block transparency to false

* fix(block): set leaf as transparent
2026-05-30 15:11:40 +08:00
2026-05-30 15:11:40 +08:00
2026-05-30 15:11:40 +08:00
2026-05-28 21:34:36 +08:00
2026-05-30 15:11:40 +08:00
2026-04-21 22:53:34 +08:00
2026-05-28 21:34:36 +08:00
2026-05-28 21:34:36 +08:00
2026-05-28 21:34:36 +08:00
2026-03-05 13:43:34 +08:00
2026-04-14 09:24:10 +08:00
2026-05-28 21:34:36 +08:00
2026-04-19 18:01:09 +08:00
2026-05-28 21:34:36 +08:00

What's it

A cube game like Minecraft, using C++ and OpenGL.

Build Guide

Prerequisites

  • CMake (>= 3.24)
  • C++ 23 compatible compiler

Step

  1. Clone the repository
    git clone https://github.com/zhenyan121/Cubed.git && cd Cubed
    
  2. Configure with CMake
    mkdir build && cd build
    cmake -G "Ninja" ..
    
  3. Build the project
    ninja
    
Description
No description provided
Readme MIT 2.9 MiB
Languages
C++ 92.6%
Python 3.7%
GLSL 1.9%
CMake 1.8%