Skip to content

Instantly share code, notes, and snippets.

View jose-villegas's full-sized avatar

José Villegas jose-villegas

View GitHub Profile
@jose-villegas
jose-villegas / after.cpp
Created November 16, 2015 04:30
almost40fpswat
#include <glm/gtc/matrix_inverse.hpp>
#include "transform_matrices.h"
#include "frustum.h"
TransformMatrices::TransformMatrices() : matrices(), matricesChanged(None)
{
}
#include "stdafx.h"
#include "interface.h"
#ifdef _WIN32
#undef APIENTRY
#define GLFW_EXPOSE_NATIVE_WIN32
#define GLFW_EXPOSE_NATIVE_WGL
#include <GLFW/glfw3native.h>
#endif
static oglplus::Context gl;
Shader "Custom/Cook-Torrance" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_BumpMap("Normal Map", 2D) = "bump" {}
_Metallic("Metallic", Range(0,1)) = 0.5
_MetallicTex("Metallic", 2D) = "white" {}
_Roughness("Roughness", Range(0.000000001,1)) = 0.5
_RoughnessTex("Roughness", 2D) = "white" {}
_Fresnel("Fresnel Value", Float) = 0.028
<div class="modal fade" id="mBuffer-Settings">
<div class="modal-dialog modal-sm">
<div class="modal-content" style="max-width:770px;">
<div class="modal-header">
<button id="mBuffer-Settings-Close" class="close" data-dismiss="modal">
<span>&times;</span>
</button>
<h4 class="modal-title" id="mBufferTitle">
Chat Settings
.popup-imagelink{
position: absolute;
max-width: 200px;
max-height: 200px;
}
.explain-macro {
border-radius: 4px;
border:0px;
text-align:center;
// tube favicon
(function() {
var link = document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = 'http://boards.420chan.org/static/images/board_icons/b_icon_64.png';
document.getElementsByTagName('head')[0].appendChild(link);
}());
function formatUserlistItem(a) {
.nick-hover > .spoiler {
background-color:#000
}
.spoiler:hover{
background: #000000;
color:#FFFFFF;
}
.color1{background:orange;transition:background-color .5s ease}.color2{background:#ff0;transition:background-color .5s ease}.color3{background:green;transition:background-color .5s ease}.color4{background:blue;transition:background-color .5s ease}.color5{background:#4b0082;transition:background-color .5s ease}.color6{background:#ee82ee;transition:background-color .5s ease}.color7{background:#ffc0cb;transition:background-color .5s ease}.color8{background:purple;transition:background-color .5s ease}.span1{color:orange}.span2{color:#ff0}.span3{color:green}.span4{color:blue}.span5{color:#4b0082}.span6{color:#ee82ee}.span7{color:#ffc0cb}.span8{color:red}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-anima
We couldn’t find that file to show.