Bad Apple with Transparency

Channel:
Subscribers:
58
Published on ● Video Link: https://www.youtube.com/watch?v=IP-ILhpKbp4



Duration: 3:46
411 views
11


Made in Godot!

Shader Code:

shader_type canvas_item;

uniform float below = 0.01;
uniform float Sign = -1.0;
uniform float above = 0.0;

void fragment() {
vec4 pixelColor = texture(TEXTURE,UV);
float a = above - Sign * pixelColor.r - below;
COLOR = vec4(pixelColor.rgb,a);
}

With help from MartinVDL of Processing Forum.

Main code:

extends Node

# Called when the node enters the scene tree for the first time.
func _ready():
get_tree().get_root().set_transparent_background(true)
OS.set_window_always_on_top(false)
OS.set_window_always_on_top(true)
$VideoPlayer.play()
$VideoPlayer/AnimationPlayer.play("play")

func _unhandled_input(event):
if event.is_action_pressed("ui_cancel"):
get_tree().quit()

Per pixel transparency set to allowed + enabled.

Credits:
Song by ZUN, of Touhou fame
AMV by Anira and crew on Nico Nico
Godot version by Kaizar Nike




Other Videos By Kaizar Nike


2023-12-26Bad Santa Conquers Warsim: The Realm Of Aslona - Ep 3
2023-12-24The End of Canter Lotta Sum Locks
2023-12-21The Short Tale of Canter Lotta Sum Locks
2023-12-11Shaarad - Wheel of Time for Victoria 3, Episode 2 - Into Bankers' Quarry
2023-12-09Shaarad: Wheel of Time for Victoria 3, Episode 1 - A Nation Starves
2023-12-02#nintendo #suck #my #ghosts #luigi Sorry for the sudden drop, I'm sure you all follow me for 🪱
2023-11-29Go fastly right and down. Crisscross hot cross buns, invert gravity. Reeses puffs CPR, misery.
2023-10-28KaizNike Reacts - World of Horror (Watching Ceres Fauna then Playing Myself)
2023-09-28Godot Starter Tutorial - Covering the Essentials (Pt 1 0f NaN)
2023-09-05Little Chats - First Month Of School Survival Guide
2023-08-26Bad Apple with Transparency
2023-07-25) Developer: Ask ChatGPT for some, some, some, some tips on how to get funky.
2023-07-04Shadows Over Amn - Forgotten Realms Mod For Dominions 5 - Episode 4
2023-07-03Prepare For The Awards - Episode 9 (Software Inc V1 6 8)
2023-06-28Petz 4 (Catz-1999) - Saga Of Sam - Let's See a Circus!
2023-06-27Shadows Over Amn - Forgotten Realms Mod For Dominions 5 - Episode 3
2023-06-26May Your Products Never Crash - Episode 8 (Software Inc V1.6.8)
2023-06-20Shadows Over Amn - Forgotten Realms Mod For Dominions 5 - Episode 2
2023-06-19And So, Another Year Goes By - Episode 7 (Software Inc V1.6.8)
2023-06-14Dominions 5 Death Match - Come See The Fireworks
2023-06-13Shadows Over Amn - Forgotten Realms Mod For Dominions 5 - Episode 1