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
bl_info = { | |
"name": "GUMDROP", | |
"author": "NathoSteveo", | |
"version": (1, 0, 0),} | |
import bpy | |
import os | |
import math | |
import bmesh |
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
@tool | |
extends Node3D | |
@export var grid_parent: Node3D | |
var grid_size | |
var block_size | |
@export var current_grid_size: int | |
@export var current_block_size: int | |
var grid_block = preload("res://assets/open_world/scenes/grid_block.tscn") | |
var grid_block_mat = preload("res://assets/open_world/shaders/grid_block.tres") |
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
/* | |
███╗░░██╗░█████╗░████████╗██╗░░██╗░█████╗░ ░██████╗████████╗███████╗██╗░░░██╗███████╗░█████╗░ | |
████╗░██║██╔══██╗╚══██╔══╝██║░░██║██╔══██╗ ██╔════╝╚══██╔══╝██╔════╝██║░░░██║██╔════╝██╔══██╗ | |
██╔██╗██║███████║░░░██║░░░███████║██║░░██║ ╚█████╗░░░░██║░░░█████╗░░╚██╗░██╔╝█████╗░░██║░░██║ | |
██║╚████║██╔══██║░░░██║░░░██╔══██║██║░░██║ ░╚═══██╗░░░██║░░░██╔══╝░░░╚████╔╝░██╔══╝░░██║░░██║ | |
██║░╚███║██║░░██║░░░██║░░░██║░░██║╚█████╔╝ ██████╔╝░░░██║░░░███████╗░░╚██╔╝░░███████╗╚█████╔╝ | |
╚═╝░░╚══╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝░╚════╝░ ╚═════╝░░░░╚═╝░░░╚══════╝░░░╚═╝░░░╚══════╝░╚════╝░ | |
*/ | |
//-------------------------------------------------------------------------------[ OPEN WORLD ] | |
#ifndef SHADOWCOORD_INCLUDED |
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
/* | |
███╗░░██╗░█████╗░████████╗██╗░░██╗░█████╗░ ░██████╗████████╗███████╗██╗░░░██╗███████╗░█████╗░ | |
████╗░██║██╔══██╗╚══██╔══╝██║░░██║██╔══██╗ ██╔════╝╚══██╔══╝██╔════╝██║░░░██║██╔════╝██╔══██╗ | |
██╔██╗██║███████║░░░██║░░░███████║██║░░██║ ╚█████╗░░░░██║░░░█████╗░░╚██╗░██╔╝█████╗░░██║░░██║ | |
██║╚████║██╔══██║░░░██║░░░██╔══██║██║░░██║ ░╚═══██╗░░░██║░░░██╔══╝░░░╚████╔╝░██╔══╝░░██║░░██║ | |
██║░╚███║██║░░██║░░░██║░░░██║░░██║╚█████╔╝ ██████╔╝░░░██║░░░███████╗░░╚██╔╝░░███████╗╚█████╔╝ | |
╚═╝░░╚══╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝░╚════╝░ ╚═════╝░░░░╚═╝░░░╚══════╝░░░╚═╝░░░╚══════╝░╚════╝░ | |
*/ | |
//-------------------------------------------------------------------------------[ OPEN WORLD ] | |
Shader"NATHO/SHADOW_OUTLINE" |