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 prepImgurLink(%link) | |
{ | |
%link = strReplace(%link, "https://im", "https://i.im"); | |
if (strStr(%link, ".png") == -1 || strStr(%link, ".jpg") == -1) | |
{ | |
%link = %link @ ".png"; | |
} | |
return %link; | |
} |
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
// QuickSaver - Save the builds you come across in one keypress | |
// Won't work first time around for an unknown reason | |
// Host Name (by Visolater) | |
function visolatorGetHostName() | |
{ | |
%s = $ServerInfo::Name; | |
%a = strPos(%s, "'s"); |
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
// made on 12/24/2017 | |
// rotNString 'string', shift # (postive or negative work), %m for whether to allow nonletters to pass through | |
function shiftCharS(%c, %offset, %mode) | |
{ | |
%letters = "abcdefghijklmnopqrstuvwxyz"; | |
if (%offset !$= (%offset | 0)) // first %offse | |
return "offset isn't a number"; | |
if (strLen(%c) != 1) | |
return "one character only"; |
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
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
#extension GL_EXT_gpu_shader4 : require | |
#extension GL_EXT_gpu_shader4 : enable | |
// Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes an ultra graphics version, a Percentage-Closer Soft Shadows (PCSS) implementation, and other smaller configuration variables |
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
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
//#extension GL_EXT_gpu_shader4 : require | |
//#extension GL_EXT_gpu_shader4 : enable | |
// Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes an ultra graphics version, a Percentage-Closer Soft Shadows (PCSS) implementation, and other configuration variables |
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
// potentially useful guis list | |
// PlayGui_ShapeNameHud - shape names | |
// ISSUES (old) | |
// changing text size on options is broken - no longer the case? | |
$fontChange::primaryFont = "Segoe UI"; | |
$fontChange::fontSizeScale = 1; | |
function fontToggle(%bool) |
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
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
//#extension GL_EXT_gpu_shader4 : require | |
//#extension GL_EXT_gpu_shader4 : enable | |
// Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes an ultra graphics version, a Percentage-Closer Soft Shadows (PCSS) implementation, and other configuration variables |
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
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
// Originally Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes an ultra graphics version, a Percentage-Closer/Perceptually-Correct Soft Shadows (PCSS) implementation, and other configuration variables | |
// 8th version | |
// Configuration: For the adventurous! |
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
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
// Originally Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes a Contact-Hardening/Percentage-Closer/Perceptually-Correct Soft Shadows (CHSS/PCSS) implementation, and other many configurable variables | |
// 10th version | |
// Configuration: For the adventurous! |
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
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
//curved world feature/effect; https://forum.blockland.us/index.php?topic=77967.msg7787623#msg7787623 | |
bool curveTheWorld = true; | |
bool curveDirectionDown = true; | |
//adjust the effect | |
float curvePower = 2.0f; //exponential curve | |
float curveScale = 0.02f; //'fisheye factor', note that high values make lights higher than their real position |
OlderNewer