this post was submitted on 28 Jun 2023
11 points (100.0% liked)

Godot

5932 readers
166 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 1 year ago
MODERATORS
11
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/godot
 

I'm new to 3D and only messed with 2D before. Now I am trying to make a little game (or at least project) to learn. I added a skybox and got a texture from poly haven. This gray seam appeared and I have no idea why. I tried another texture just in case, but that also wasn't the source of the problem

This is the shader code I've got from a tutorial

shader_type sky;
uniform sampler2D skyTexture;
void sky() {
	COLOR = texture(skyTexture, vec2(SKY_COORDS.x + TIME / 500.0, SKY_COORDS.y)).rgb;	
}

Using Godot 4.0.3 stable
Does anyone know what the issue is? Thanks in advance

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here