1
14
submitted 6 hours ago by [email protected] to c/[email protected]

Hi everybody. Let's continue our series on modeling 3D scenes using shaders and raymarching technology. In the previous fourth part, we managed to render the scene from any position and at any angle, which is very useful in itself, but we were still rendering each object in the same monotonous color. This time, we'll fix that detail and rewrite our code so that we can assign a different material to each object.

2
26
submitted 1 week ago by [email protected] to c/[email protected]

Hi everyone! I think every shader developer has at some point found themselves in a situation where they needed to determine certain values in the fragment function, especially when the shader wasn't behaving as expected. The problem is that the shader runs on the GPU, so we don't have anything like an output console available. So, how can we solve that? There are some options, and I’ll demonstrate one of them in this tutorial.

3
31
submitted 1 week ago by [email protected] to c/[email protected]
4
23
submitted 2 weeks ago by [email protected] to c/[email protected]

Hi everyone! We've already had a spiral tunnel, a circular tunnel, and a triangular tunnel. How about trying a square or rectangular one this time, which could resemble a classic dungeon-style game? It's pretty simple, so let's get to it.

5
28
submitted 2 weeks ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.ml/post/30302028

video by GDQuest
very awesome to see tutorial and encouragement for 3D game
Godot would get much greater recognition if there were more 3D games made with it.

6
62
Godot Shader Pack (filiprachunek.gumroad.com)
submitted 2 weeks ago by [email protected] to c/[email protected]

Many people asked for it, so I created and released a new product: 80 shaders from my collection, ready to use in any project. Plus bonuses. 😎

7
24
submitted 2 weeks ago by [email protected] to c/[email protected]

I won't be able to make it, sadly, but maybe someone here is interested and hadn't heard of it yet.

8
43
submitted 2 weeks ago by [email protected] to c/[email protected]
9
35
submitted 3 weeks ago by [email protected] to c/[email protected]

Hi everybody. You might remember that the fire effect created using particles in Godot 4 was one of the first tutorials I published on this channel. Since then, more than a year has passed, the Godot Engine has evolved a lot, and many things have changed in the editor as well, so the original video is no longer very usable with the latest version of Godot (currently 4.4). That's why I decided to create a new, up-to-date, and improved tutorial, which we're about to dive into.

10
45
submitted 3 weeks ago by [email protected] to c/[email protected]
11
46
submitted 3 weeks ago by [email protected] to c/[email protected]

Junkyard Space Agency is an upcoming co-op space agency simulator that the developer said is like a "scrappier, multiplayer version" of Kerbal Space Program. It's being made with Godot Engine

12
23
submitted 4 weeks ago by [email protected] to c/[email protected]

Hey everybody! Let's go back to two dimensions, and take a look at how to create the effect you're currently seeing in the background of this video. It's basically something like a kaleidoscope, for which we need a source image and parameters like the number of segments, or the rotation speed. So let's go ahead and program this shader.

13
32
Godot Showcase - Somar (godotengine.org)
submitted 4 weeks ago by [email protected] to c/[email protected]
14
36
submitted 1 month ago by [email protected] to c/[email protected]
15
20
submitted 1 month ago by [email protected] to c/[email protected]
16
34
submitted 1 month ago by [email protected] to c/[email protected]

Hey everyone! This time, we'll be playing with fire. It's not the first time I've created a fire shader, but back then, I used a noise texture and a curve as a parameter, which significantly simplified the whole process. Now, we'll try it without such tools and generate a candle flame, which, as always, will have plenty of parameters for further adjustments. So let's get to it.

17
42
submitted 1 month ago by [email protected] to c/[email protected]

A few days ago, I saw a post on Reddit that inspired me to create a new local multiplayer game for me and my friends. After some late-night coding sessions, I’m excited to share Horse Race: a chaotic, fast-paced game perfect for game nights (or even solo play).

How it works:

Each horse is assigned to a specific button: the button you press to join the race. Your button is your key to controlling your horse throughout the race:

Attacking Opponents: to attack an opponent, simply press your button when you're in front of them.

Changing Direction: to adjust your horse's direction, press and release your button.

I’d love for you to try it out and share your thoughts. Any feedback or suggestions are more than welcome. Let me know what you’d like to see added or improved.

Play embedded here: https://stesproject.itch.io/horse-race

Have fun!

18
21
submitted 1 month ago by [email protected] to c/[email protected]

I'm going to try posting here interesting Godot dev updates I find on Mastodon. I am in no way associated with this game.

19
38
submitted 1 month ago by [email protected] to c/[email protected]
20
25
submitted 1 month ago by [email protected] to c/[email protected]
21
72
submitted 1 month ago by [email protected] to c/[email protected]
22
78
Here from reddit (programming.dev)
submitted 1 month ago by [email protected] to c/[email protected]

Hey y'all, I'm here from reddit after getting falsely permanent banned and I'm wondering if the community is good?

23
6
submitted 1 month ago by [email protected] to c/[email protected]

Some objects sticks with each other when those use CharacterBody2D, and moves like those are sticking together.

So, what do I need to do to solve this issue?

24
9
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

Hi, folks! So, I have the problem with making materials as unique.

Image

I need effects, such as painting of ships in red color, will applies only where particles will spawns. But... As you can see those effects can applies also into other ships.

I've already set these materials as "Local to Scene" into inspector tab.

And have create script for making those materials as unique:

func _make_ship_materials_unique() -> void:
	for i in ship.get_children():
		if i is MeshInstance3D:
			for n in range(i.get_surface_override_material_count()):
				i.mesh.surface_set_material(n, i.mesh.surface_get_material(n).duplicate(true))

But it given me few results 😕

If it can help, here's the script of applying of ships painting:

func damaged_spec_effect() -> void:
	for i in ship.get_children():
		if i is MeshInstance3D:
			for n in range(i.get_surface_override_material_count()):
				_create_fade_in_then_out_effect(i.mesh.surface_get_material(n), Color.RED)
func _create_fade_in_then_out_effect(material: Material, final_color: Color) -> void:
	if material is StandardMaterial3D:
		material.albedo_color = Color.WHITE
		var tween = get_tree().create_tween()
		tween.tween_property(material, "albedo_color", final_color, EFFECTS_DURATION / 2)
		tween.tween_property(material, "albedo_color", Color.WHITE, EFFECTS_DURATION / 2)

So, what do I need to do for solving my problem? 🤔

25
28
submitted 1 month ago by [email protected] to c/[email protected]

Hey everybody! Recently, we created a shader that simulated an analog clock using polar coordinates, and we'll stick with this type of display a little longer. This time, I'll demonstrate how to program a fully customizable spinner based on similar principles. So, let's start coding!

view more: next ›

Godot

6675 readers
13 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 2 years ago
MODERATORS