From 038845fd207f5ebfafc246e9a66a2f0b811087de Mon Sep 17 00:00:00 2001 From: Niko Date: Fri, 8 Feb 2019 16:17:34 -0500 Subject: [PATCH] Added a sample to load PBR models for Switch --- graphics/opengl/README.md | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 graphics/opengl/README.md diff --git a/graphics/opengl/README.md b/graphics/opengl/README.md deleted file mode 100644 index 33a6a5a..0000000 --- a/graphics/opengl/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# OpenGL Examples - -## Necessary packages - -These examples use OpenGL to render graphics with the GPU. In order to compile them, you need to install the necessary packages with the following command: - -```bash -pacman -S switch-mesa switch-glad switch-glm -``` - -Note that on some systems, you may need to use `dkp-pacman` instead, and you may need to prefix the installation commands with `sudo`. - -## Usage - -It is not possible to use the libnx console and the GPU at the same time. For this reason, debugging output must be redirected to nxlink. All examples contain code that sets up stdout to redirect to the nxlink socket, however by default it's disabled. In order to enable it, you can `#define ENABLE_NXLINK` at the top of the file, or alternatively modify the Makefile to add `-DENABLE_NXLINK` to the `CFLAGS` variable. - -Additionally, mesa and nouveau are presently configured to support debugging output. Each example has a `setMesaConfig` function that controls debugging and shader optimization flags. Please refer to the source code of this function for more details.