Shaders Questions

2

Hello. I'm creating a simple shader like this: shader_type spatial; uniform sampler2D heightmap; void vertex() { float d = (texture(heightmap, UV).a - 0.5) * 10.0; VERTEX.xyz += NORMAL * d; } I...
Erenow asked 14/10, 2023 at 23:17

1

I'm trying to export models form picoCAD to GODOT but i have a problem, the color of the model in GODOT is darker than the one of picoCAD.
Rosenthal asked 15/10, 2023 at 3:5

1

Solved

I am trying to use this asset to test out a compute shader on android, that allows texture modification. I’m new to shaders, I could have misunderstood or not realizing some kind of limitation on mobi...
Mellow asked 8/12, 2016 at 12:31

5

Before I give up and call what I'm tying to do impossible I figure I should probably post here, Is it truly as inconvenient as I'm finding to apply an optional crt shader to a fixed resolution game af...
Vachil asked 12/10, 2023 at 7:48

3

Good morning, I need to render my scene in a main Viewport and then in a SubViewport through a second camera. I would like the rendering on the second camera to be done with different materials (Shad...
Physoclistous asked 20/8, 2023 at 15:24

2

Hey, fresh face here. I was trying to implement an effect where an object is just rendered as an outline, with the actual object being transparent. I can get a decent looking outlined object and a wei...
Stoppage asked 9/10, 2023 at 19:55

5

I've been trying for quite some time to create a Cubemap for my custom VisualShader, but cannot make it work. I've read that Cubemaps are kinda "obsolete" in this version (in benefit of panoramas or ...
Repulse asked 9/10, 2023 at 17:56

5

Solved

Back when I was learning to make shaders in Unity, I learned to avoid instructions which would cause branches like the plague. A lot of using 1s and 0s rather than if-statements, etc. Should I still b...
Decamp asked 8/10, 2023 at 17:57

2

Solved

I'm trying to achieve a smooth transition between two scenes where the player stays rendered but the level fades directly from one to the other around him. No fading to black. My particular use case ...
Vocabulary asked 7/10, 2023 at 0:12

1

I'm trying to reproduce a very useful Chroma Key shader i made in UE4 a few years ago Based on this excellent article by Yogendra Manawat: I reproduced his method via a simple shading network, as f...
Keithakeithley asked 6/10, 2023 at 15:31

1

Solved

How can I create a night in my 2D game? I've created a dark semi-transparent object that is supposed to simulate darkness, but the lighting isn't working as I want it to. I want the light to result in...
Velate asked 4/10, 2023 at 11:0

2

I cant figure out why is this shader not working.(it is not moving it just displace the mesh once) shader_type canvas_item; uniform vec2 position = vec2(1.0, 1.0); uniform float wind_speed = 1.0; ...
Avaavadavat asked 29/9, 2023 at 13:8

3

Solved

Hi, I know nothing of making shaders in Unity, and I’m trying to make a Solid Color shader which is transparent. I currently have the following, which works: Properties { _Color ("Color", Color) = (1...
Hypothesize asked 25/7, 2012 at 14:43

4

Solved

In this shader there are 2 images that will always exist: base_texture and frame_texture. But sometimes an object that uses this shader can also have an optional texture: overlay_texture. How can I ch...
Fulviah asked 26/9, 2023 at 0:56

10

Also posted on Reddit. See this thread on the Unity forum for more about the problem and conceptual solution. When using billboarded sprites in 3D, a common problem without a ready solution in Godot ...
Smooth asked 7/6, 2022 at 23:54

7

Dithering node Unity to Godot 4 ? Hey, I try do redo the same technic a was doing in unity shader graph, i'm close to the same result in godot with the visual shader. I just want a nice dithering ef...
Emmerie asked 19/9, 2023 at 21:3

8

hey there ! : ) I have a question for any godot 4 visual shader specialist. i'm experimenting non-realistic rendering and i do have fun with the visual shader, the potential is great. Coming from U...
Ton asked 17/9, 2023 at 18:33

2

Hi! I am completly new to coding, so I struggle a little bit. I want to make game where player can change object's color. I watched tutorials but I still can't replicate the effect in any way. I strug...
Peyton asked 10/9, 2023 at 12:5

1

Can anyone Help? I have an issue for a racing game project. When my camera is in motion objects textures starts flickering. ex… I have road and terrain surrounding it, when i start the race, its textu...

11

Solved

I'm trying to make a card game (like Magic Arena, Hearthstone, Legends of Runeterra) and I'm not sure how to properly use the textures. When a card is played, it lands on the table as a small flat pi...
Gragg asked 27/8, 2023 at 20:39

2

Hello I’m a bit confuse on material and shaders for multiple objects using scripts. . Let’s say that I have 2 objects (2D sprites) being the CUBE and the SPHERE. I have to instantiate CUBE and SPHERE ...
Curtice asked 28/10, 2020 at 8:26

3

Hy, I'm new to game developping and currently learning 😛. I'm using godot V4.0.3, and experimenting with shaders and pixel art. When I try to use a sampler2D variable to import an image into my shade...
Unitary asked 21/8, 2023 at 23:37

4

Solved

I have a shader that uses a GradientTexture1D and I want to update the offset points of the gradient to affect the shader. But I cannot seem to figure out how to access these points in GDScript. I kno...
Grantee asked 20/8, 2023 at 13:9

1

Hello, i am trying to apply a watershader to my object in godot. i have multiple planes that are sized differently. but when I do this the texture or whatever it is gets squashed up in this example. ...
Theolatheologian asked 16/8, 2023 at 7:57

1

I struggle to make sense of the LIGHT shader variable on my own, or the whole lighting thing to be honest. From fiddling around, it looks like LIGHT might be a sort of accumulator, where I must calcu...
Tavi asked 16/8, 2023 at 18:24

© 2022 - 2024 — McMap. All rights reserved.