Shaders Questions

1

hello, Is there a way to change a shader paramenter in GDscript ? The old code is not working anymore var shdBlur = $CanvasLayer/ColorRect.get("shader_param/amount"); if ( shdBlur == null ): pr...
Platt asked 25/1, 2023 at 14:47

2

Solved

I want to accomplish the effect like this video: So I use wind grass shader from: https://godotshaders.com/shader/stylized-grass-with-wind-and-deformation/ Wind is cool, but problem is how to ren...
Frascati asked 23/1, 2023 at 6:33

11

Does anyone know where to fix this foam issue in this shader? I just want foam to be around the edges only. I've tried playing with all numeral parameters but nothing fixes it. I think the foam visu...
Cesaria asked 4/11, 2022 at 7:33

4

Solved

I have a shader material that Id like to add a normal map to. It doesnt have a slot for the normal map, and I assume I need to add it programmatically. Can anyone link to an example project? Im using...
Crispy asked 13/1, 2023 at 2:1

4

Solved

I have a map where I instantiate multiple mesh spheres called "rx1" from a scene called Rx. I have a script that assigns a random color once the instance is ready, as you can see in the image. Neverth...
Majewski asked 12/1, 2023 at 13:4

1

Solved

Example When applied, the second layer has no alpha channel gradation Is it possible to fix it?
Esra asked 8/1, 2023 at 16:54

5

Solved

How to add a shader to 3D model? (Godot 4) extends Node3D @onready var headShader = preload("res://3d/Mesh/head.gdshader") @onready var headMesh = $Head_Mesh_1 func _ready(): pass
Coimbatore asked 6/1, 2023 at 17:29

1

Hey everyone! New to Godot and loving it so far I'm having trouble with some of my imported models from Blender where some of the objects seem to be intrinsically brighter than others. I've checked ...
Lasser asked 6/1, 2023 at 19:42

2

I am unable to figure why my shader parameters don't stay set when I close the program and reopen it. I have a Material Override .tres (Type: ShaderMaterial) saved and it has a shader with it: res://...
Rearmost asked 27/12, 2022 at 0:57

10

I have a Visual Shader displacing a plane mesh using a NoiseTexture2D Simplex noise. Visually I got the basics looking alright. However I'm not entirely sure how to do collisions, with support for oth...
Hodometer asked 20/12, 2022 at 3:34

5

Create trees with wind effect Godot_v4.0-beta9/10 Tree It (4/1/2023) Based on the Making trees tutorial. This is not a tutorial, but rather a hint, a short note to a tutorial on creating trees. Thi...
Heptachord asked 22/12, 2022 at 5:12

5

Solved

Hello. I want to create invisible object that will turn visible on the spots where the player is close to, like in the image. How can I achieve this? Doesn't need to be anything fancy.
Youngman asked 13/11, 2022 at 2:38

5

Solved

Im using a multi-mesh to render grass how do I stop it from rendering both sides
Zimbabwe asked 8/12, 2022 at 23:56

4

What are the changes made in Godot4 shader apart from name changes from doc? I am failing to convert water shaders from 3 to 4 by changing the names. But it runs It either appears black, white, no ve...
Vested asked 7/12, 2022 at 3:40

1

Solved

I am trying to rotate through a texture and use it for the alpha values for a water fountain water fall. Problem is I am having trouble controlling the animation of the uv cordinates using TIME. Her...
Espy asked 5/12, 2022 at 17:20

7

this shader looks sick https://www.shadertoy.com/view/lsySzd
Fideism asked 6/12, 2022 at 22:31

6

Solved

Hello everyone, I'm looking for a solution to use one texture for all nations color. I see i can do that by shader code, but the basis don't allow me to modify an array of pixel. It seems we need to...
Compare asked 1/12, 2022 at 15:17

5

found this flame shader on shadertoy> https://www.shadertoy.com/view/XsXSWS looks really usefull i have no clue on how to convert it to a godot one tho.
Diego asked 4/12, 2022 at 18:46

2

Solved

im trying to make blood screen have a distort effect based on a normal map. it works but as u can see in the code the uvs are only shifted to the left. how to distort based on the normal map? u...
Layne asked 3/12, 2022 at 19:46

1

world_matrix seems to have gone in godot 4 shading language this code doesnt work> vec3 vertex_position = (WORLD_MATRIX * vertex).xyz;
Mertiemerton asked 28/11, 2022 at 18:2

4

Solved

Hello, I import a mesh into Godot from Blender and I would like to, as I move around the mouse hovering above the mesh, be able to see the triangle (maybe even quad if this is possible) under the mou...
Bricklaying asked 20/11, 2022 at 10:45

3

Solved

Forgive me, I'm new to shaders. I copied a shader from Shadertoy and used the guide: https://docs.godotengine.org/en/stable/tutorials/shaders/converting_glsl_to_godot_shaders.html to convert it for ...
Ryurik asked 15/11, 2022 at 13:48

1

i'm currently using an animated sprite and i don't plan on changing it because i'm so deep into my project already, but i'm running into a problem where i can't use shaders like others do with animati...
Chit asked 16/11, 2022 at 15:9

7

Solved

Using the example in the godot manual I created a water shader. But I cannot get the normals to work right. shader_type spatial; render_mode specular_toon; uniform float height_scale = 0.5; uniform ...
Shon asked 12/11, 2022 at 15:15

16

Solved

I wanted to get a cool water shader for my game so I went to godotshaders.com and found this one added it to the game and did some modifications to add triplaner mapping to the texturing, shader_type...
Transport asked 9/11, 2022 at 17:41

© 2022 - 2024 — McMap. All rights reserved.