How do I make a working shader that will make me a realistic enough atmosphere?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Goosey
Prole
Posts: 1
Joined: Sun Jun 11, 2023 4:59 pm

How do I make a working shader that will make me a realistic enough atmosphere?

Post by Goosey »

This is my first time posting and I apologize if I might sound like an idiot somewhere, but I've been trying to make a space game with pretty good progress so far and I've wanted to make a shader for my atmosphere, but it doesn't do anything that I want it to do. The atmosphere is a circle and is just drawn at the position of the planet it is on and has the shader applied to it. The shader is meant to give off a nice fade, but it was acting really strange and never gave me the shade in the right place. I started off with just a basic fade, without having a point where it starts and ends. I had to ask an AI for help, but that was useless. I deeply, deeply apologize if my code is messy and looks like a bomb went off, but I will clean it up eventually.
Attachments
game.love
game.
(33.83 KiB) Downloaded 96 times
User avatar
pgimeno
Party member
Posts: 3644
Joined: Sun Oct 18, 2015 2:58 pm

Re: How do I make a working shader that will make me a realistic enough atmosphere?

Post by pgimeno »

I'm not sure if the effect you're after is understood. It's possible that the effect you are trying to do is possible to obtain without a shader.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 4 guests