- 2011 - A trip through the Graphics Pipeline 2011
- 2013 - Performance Optimization Guidelines and the GPU Architecture behind them
- 2015 - Life of a triangle - NVIDIA's logical pipeline
- 2015 - Render Hell 2.0
- 2016 - How bad are small triangles on GPU and why?
- 2017 - GPU Performance for Game Artists
- 2019 - Understanding the anatomy of GPUs using Pokémon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Resources | |
| // https://burakkanber.com/blog/physics-in-javascript-car-suspension-part-1-spring-mass-damper/ | |
| // https://gafferongames.com/post/spring_physics/ | |
| // https://gafferongames.com/post/physics_in_3d/ | |
| // http://digitalopus.ca/site/pd-controllers/ | |
| // .. Has things about Torque | |
| class QuaterionSpring{ | |
| constructor( damping=5, stiffness=30 ){ | |
| this.velocity = new Float32Array(4); |
This cheatsheet is written by @TSiege. You can check the original version of cheatsheet at link
This list is meant to be both quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vec3 hueShift( vec3 color, float hueAdjust ){ | |
| const vec3 kRGBToYPrime = vec3 (0.299, 0.587, 0.114); | |
| const vec3 kRGBToI = vec3 (0.596, -0.275, -0.321); | |
| const vec3 kRGBToQ = vec3 (0.212, -0.523, 0.311); | |
| const vec3 kYIQToR = vec3 (1.0, 0.956, 0.621); | |
| const vec3 kYIQToG = vec3 (1.0, -0.272, -0.647); | |
| const vec3 kYIQToB = vec3 (1.0, -1.107, 1.704); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*============================================================================ | |
| NVIDIA FXAA 3.11 by TIMOTHY LOTTES | |
| ------------------------------------------------------------------------------ | |
| COPYRIGHT (C) 2010, 2011 NVIDIA CORPORATION. ALL RIGHTS RESERVED. | |
| ------------------------------------------------------------------------------ | |
| TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const glslify = require('glslify'); | |
| const path = require('path'); | |
| const assign = require('object-assign'); | |
| const defined = require('defined'); | |
| // This is the original source, we will copy + paste it for our own GLSL | |
| // const vertexShader = THREE.ShaderChunk.meshphysical_vert; | |
| // const fragmentShader = THREE.ShaderChunk.meshphysical_frag; | |
| // Our custom shaders |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Combined all static libaries in the current directory into a single static library | |
| # It is hardcoded to use the i386, armv7, and armv7s architectures; this can easily be changed via the 'archs' variable at the top | |
| # The script takes a single argument, which is the name of the final, combined library to be created. | |
| # | |
| # For example: | |
| # => combine_static_libraries.sh combined-library | |
| # | |
| # Script by Evan Schoenberg, Regular Rate and Rhythm Software |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);