GLdc: Difference between revisions

From dreamcast.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 23: Line 23:
Once the folder is cloned
Once the folder is cloned


  cd GLdc && make defaultall && make create_kos_link
mkdir dcbuild
  cd dcbuild
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../toolchains/Dreamcast.cmake -DCMAKE_BUILD_TYPE=Release ..
make
 


You can now link GLdc using <code>-lGLdc</code>
You can now link GLdc using <code>-lGLdc</code>

Latest revision as of 19:13, 26 February 2023

GLdc is an OpenGL implementation for the Dreamcast that is actively developed by Kazade. MrNeo also contributed to the testing and optimisation of GLdc

Features

Supports most of the OpenGL 1.2 implementation.

Known Issue

Lighting performance is still being worked on.

Projects built with GLdc

Building GLdc

Make sure you clone this repo in the $KOS_BASE/addons folder

cd $KOS_BASE/addons` then `git clone https://github.com/Kazade/GLdc.git

Once the folder is cloned

mkdir dcbuild
cd dcbuild
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../toolchains/Dreamcast.cmake -DCMAKE_BUILD_TYPE=Release ..
make

 

You can now link GLdc using -lGLdc