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
shader_type spatial; | |
uniform samplerCube sky_cube:source_color; | |
uniform sampler2D shadow_texture:source_color, repeat_disable, hint_default_white; | |
uniform vec2 shadow_scale = vec2(2.0, 1.0); | |
uniform vec2 shadow_offset = vec2(0.5,0.2); |
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
shader_type spatial; | |
// quick test for how large a texel in on-screen in pixels | |
uniform sampler2D test_texture:filter_nearest; | |
void fragment() { | |
vec2 uv_per_texel = vec2(1.0, 1.0) / vec2(textureSize(test_texture, 0)); | |
vec2 dfx = dFdx(UV); | |
vec2 dfy = dFdy(UV); | |
vec2 uv_per_pixel = vec2(length(vec2(dfx.x, dfy.x)), length(vec2(dfx.y, dfy.y))); |
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
shader_type sky; | |
uniform sampler2D moon_texture:source_color, repeat_disable; | |
// updirection of moon texture will try to align with this | |
uniform vec3 north = vec3(0, 0, -1); | |
void sky() { | |
vec3 light_dir = normalize(-LIGHT0_DIRECTION); | |
vec3 side_dir = normalize(cross(light_dir, north)); |
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
start | end | |
---|---|---|
73 | 1 | |
46 | 5 | |
55 | 7 | |
8 | 26 | |
48 | 9 | |
52 | 11 | |
59 | 17 | |
83 | 19 | |
21 | 82 |
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
shader_type canvas_item; | |
// draws black dots at corners | |
uniform float dot_size = 30; // size of dots at vertices | |
varying vec2 vertex_uv; // used to pass fake UV since real UV wasn't behaving as expected | |
void vertex() { | |
vertex_uv = COLOR.rg; // using vertex colour because UV array from Polygon2D wasn't working for me? | |
//vertex_uv = UV; |
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
#Based on Procedural Toolkit by Syomus (https://github.com/Syomus/ProceduralToolkit) | |
@tool | |
extends PrimitiveMesh | |
class_name SuperSphere | |
# generates a supersphere | |
## size of the supersphere | |
@export var radius : float = 1.0: | |
get: |
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
shader_type spatial; | |
uniform sampler2D ground_texture:source_color, repeat_enable, filter_linear_mipmap; | |
uniform float ground_height = -1.0; | |
uniform float scale = 2.0; | |
varying vec3 world_position; | |
varying vec3 cam_pos; |
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
@tool | |
extends CompositorEffect | |
class_name CompressEffect | |
# | |
#@tool | |
const shrink_shader_path:String = "res://compression/compress_shrink_effect.glsl" | |
const block_shader_path:String = "res://compression/compress_final_effect.glsl" |
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
RA | DEC | V | B-V | |
---|---|---|---|---|
00 08.2 | +29 04 | 2.1 | -0.11 | |
00 09.0 | +59 08 | 2.3 | 0.34 | |
00 13.1 | +15 10 | 2.8 | -0.23 | |
00 25.4 | -77 17 | 2.8 | 0.62 | |
00 26.2 | -42 20 | 2.39 | 1.09 | |
00 39.2 | +30 50 | 3.27 | 1.28 | |
00 40.3 | +56 31 | 2.23 | 1.17 | |
00 43.5 | -18 01 | 2.04 | 1.02 | |
00 49.0 | +57 48 | 3.44 | 0.57 |
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
extends Node | |
class_name ShuffleTester | |
var deck:Array | |
@export var shuffler:Shuffler | |
@export var simple_shuffler:SimpleShuffler | |
@export var shuffler_mod:ShufflerMod |