Skip to content

Instantly share code, notes, and snippets.

View Spol-RafaSoftware's full-sized avatar

Spol-RafaSoftware

View GitHub Profile
@Spol-RafaSoftware
Spol-RafaSoftware / VideoCanvas.cpp
Created June 25, 2018 10:10 — forked from rvega/VideoCanvas.cpp
A simple video player widget with nanogui and libvlc
#include <nanogui/screen.h>
#include <nanogui/window.h>
#include <nanogui/glcanvas.h>
#include <nanogui/layout.h>
#include <nanogui/opengl.h>
#include <vlc/vlc.h>
#include <iostream>
#include <mutex>
@Spol-RafaSoftware
Spol-RafaSoftware / volumetric-clouds.glsl
Created May 31, 2018 12:12 — forked from dolanor/volumetric-clouds.glsl
Volumetric clouds GLSL webGL
// Created by inigo quilez - iq/2013
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
// Volumetric clouds. It performs level of detail (LOD) for faster rendering
float noise( in vec3 x )
{
vec3 p = floor(x);
vec3 f = fract(x);
f = f*f*(3.0-2.0*f);