sunfire

Identity In Progress

  • he/they🪶

⬛🟪⬜🟨⬜🟪⬛

---
Avatar by @TuxedoDragon
---
General-interest posting,
art, casual devlogs,
serial collector of hobbies and projects.
For just gamedev see @sunfire-interactive
---
I jump between projects quite often, but here are some that I'm continuing to orbit around and will likely keep up with as long as I can.
Gamedev Projects:
Riptide Manor
Misc. Gamedev Resources
Worldbuilding Projects:
The King's Domain
The Roamer's Library
Custom Lego Themes:
Freeracers
TripleCross///
OverRiders///_
Other stuff:
Every Elden Ring character i've ever made


Sunfire Interactive on Itch
sunfire-interactive.itch.io/
The Starlight Garden (under construction)
starlight.garden/

posts from @sunfire tagged #graphics programming

also:

So.
I'm having a struggle against godot's... gamma correction? i think
I've got this shader that's multiplying in the "color" (modulate) value from a Sprite3D
But it's
Not Correct. It seems to be put to the power of around -2.25? or something.
This is annoying me because i'm using the main color channels as input for a palettization shader so i Need them to be correct or things won't work properly

Does anyone happen to know if theres a proper, official way to disable this behaviour? I've been digging but so far i've come up empty. Right now i'm toying with my own custom re-linearizer VisualShader node and that should probably work okay but if there's a setting i could be switching off to fix this then that would be much appreciated



sunfire
@sunfire

i
uh
this has got to be something to do with the way i'm layering the shaders, right??????

what i'm doing here is
this node is a Sprite3D that i'm using custom shaders on to display bits of character info like the turn timer and health

it's got the turn timer shader (the ring) in the material_override
and the health bar shader (broken, invisible) in the material_overlay
they each have one instance parameter that is a float.

and they're Sharing?!?!?!!?
THEY DONT EVEN HAVE THE SAME NAME
how is tha tPOSSIBME


sunfire
@sunfire

I CAN'T FREAKIN REORDER THEM IN A VISUALSHADER WHART DO YOU MEAN
but this confirms my hypothesis that they're being sent to the gpu as an array...
my head hurts

my annoying workaround is going to be. sending the health percent into the shader as an int instead, and hoping they get split into different lists. good grief

edit: MY SUFFERING
it doesnt. nor turning it into a vector2, and neither i suspect any other parameter type.
time for Advanced Fuckery