This file contains 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
//https://www.shadertoy.com/view/4djSRW | |
// Hash without Sine | |
// Creative Commons Attribution-ShareAlike 4.0 International Public License | |
// Created by David Hoskins. | |
// *** Change these to suit your range of random numbers.. | |
#if 1 | |
// *** Use this for integer stepped ranges, ie Value-Noise/Perlin noise functions. | |
#define HASHSCALE1 .1031 |
This file contains 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
--Inputs | |
LEVELS = 20 | |
x= 0.15 | |
--Vars | |
rest = 1.0 | |
sum = 0 | |
array = {} | |
table.insert(array, 0.0) |
This file contains 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
function gadget:GetInfo() | |
return { | |
name = "Lava Gadget 2.3", | |
desc = "lava", | |
author = "knorke, Beherith, The_Yak, Anarchid, Kloot, Gajop, ivand", | |
date = "Feb 2011, Nov 2013", | |
license = "GNU GPL, v2 or later", | |
layer = -3, | |
enabled = true | |
} |
This file contains 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
//https://www.shadertoy.com/view/4scBDS | |
#define sum3(v) (v[0]+v[1]+v[2]) | |
#define sqr(n) (n*n) | |
#define L(x, y) sqrt(sum3(sqr(vec3(texture(iChannel0, (U+vec2(x,y))/iResolution.xy).rgb)*vec3(.299, .587, .114)))) | |
void mainImage( out vec4 O, in vec2 U ) { | |
vec3 a = vec3(-1, -2, -1), b = vec3(1, 2, 1); | |
float x = dot(vec3(L(-1,-1), L(-1,0), L(-1,1)), a) | |
+dot(vec3(L(1,-1), L(1,0), L(1,1)), b), | |
This file contains 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
-- $Id: gui_metal_features.lua 3171 2008-11-06 09:06:29Z det $ | |
-------------------------------------------------------------------------------- | |
-------------------------------------------------------------------------------- | |
-- | |
-- file: gui_metal_features.lua | |
-- brief: highlights features with metal in metal-map viewmode | |
-- author: Dave Rodgers | |
-- | |
-- Copyright (C) 2007. | |
-- Licensed under the terms of the GNU GPL, v2 or later. |
NewerOlder