Skip to content

Instantly share code, notes, and snippets.

View but0n's full-sized avatar

JMA but0n

  • Melbourne
  • 19:06 (UTC +11:00)
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - transform controls</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
margin: 0px;
background-color: #000000;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vulkan/vulkan.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_Vulkan.h>
typedef struct {
SDL_Window *SDLWindow;
SDL_Renderer *SDLRenderer;
@but0n
but0n / T0.md
Created July 20, 2018 02:39 — forked from graphitemaster/T0.md
Vulkan Tutorial

Tutorial 0

What is Vulkan

Vulkan is a low-overhead, cross-platform 3D graphics and compute API.

Vulkan targets

Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.

// Shader created with Shader Forge v1.38
// Shader Forge (c) Neat Corporation / Joachim Holmer - http://www.acegikmo.com/shaderforge/
// Note: Manually altering this data may prevent you from opening it in Shader Forge
SF_DATA;
ver:1.38;
sub:START;
pass:START;
http://eddielee.me/running-node-js-on-a-raspberry-pi-zero/
https://www.shadertoy.com/view/Md3yRB
v -0.483000 0.100000 -0.006000
v -0.066000 0.100000 -0.005000
v -0.064000 0.100000 -0.018000
v -0.054000 0.100000 -0.038000
v -0.038000 0.100000 -0.054000
v -0.018000 0.100000 -0.064000
v -0.005000 0.100000 -0.066000
v -0.006000 0.100000 -0.483000
v -0.483000 0.100000 -0.483000
v 0.005000 0.100000 -0.066000