Shaders Questions

5

Hello everyone, I'm in the process of making the switch over to Godot 3.5 from Unity (as I'm sure many are), and I'm impressed with how quickly I've made progress already. This is the only real issue...
Marmoreal asked 25/8, 2022 at 4:25

6

Solved

Hello, I've got this really weird behavior with shaders. There is the following setup ParallaxBackground - ParallaxLayer_1 - - TextureRect_1 (solid image) - ParallaxLayer_2 - - TextureRect_2 (image wi...
Mumbletypeg asked 19/8, 2022 at 11:7

2

Is there anything like this Unity Asset for Godot possible? I am working on a 3D Top down game but there should be also multilevel buildings (up to 5 stores or more) and i dont see any other possibili...
Oceanus asked 18/8, 2022 at 13:56

3

Solved

shader_type spatial; uniform float wave_size = 1.0; uniform float face_distortion = 0.5; uniform vec2 time_scale = vec2(0.3, 0.0); uniform vec2 uv_offset_scale = vec2(-0.2, -0.1); uniform sampler2D ...
Oconner asked 17/8, 2022 at 15:20

3

It is the 2nd step of previous question (https://godotforums.org/d/30871-method-to-convert-png-inclalpha-into-2-files-in-etc1-format-via-2-uniforms) What I know regarding texture() and textureFecth()...
Elsieelsinore asked 27/5, 2020 at 22:51

0

As understood, I am busy with GLES 2.0 and mostly oriented to 2D. I am trying to setup a performant template to convert/split a png file into 2 ETC1 files one includes rgb, other includes alpha. MipM...
Claudclauddetta asked 16/8, 2022 at 14:35

1

Solved

Hello! I'm currently developing an PC application with an early 2000's, CRT-era monitor effect. However, I'm running into an input issue after I apply the effect. Here's what the normal menu looks lik...
Glenoid asked 15/8, 2022 at 20:7

5

Solved

I have found a sample project regarding Anti Aliasing by Viewport Post Processing via Derivatives (dFdx, dFdy and fwidth) in GLES 3.0. Where can I get Anti Aliasing by Viewport Post Processing via ano...
Beverly asked 28/7, 2022 at 19:53

7

how do u implement a heat distortion effect in godot?
Arthralgia asked 2/8, 2022 at 14:27

3

Solved

I have found proper tutorials regarding Fragment Shaders in the net such as Book Of Shaders, Shadertoy, Processing, etc. Even I have shared my own self teaching material by converting godot shader lan...
Interrupted asked 28/7, 2022 at 19:37

9

Does anybody encountered this problem? when I apply an hdr to a WorldEnvironment, sometimes all the meshes show black when I run the game. see sample 1 and sample 2 .but when I am on the 3d viewport i...
Hypertonic asked 27/7, 2022 at 18:32

4

I want to build a perspective effect by simple set the fov, rotation degree and offset. Just like this shader: I want to add xy plane offset for perspective effect, but I'm not very understand how the...
Allwein asked 25/7, 2022 at 21:17

2

I want to add text to the surface of a mesh. Is there a simple way to do that through GDScript?
Ridotto asked 16/7, 2022 at 10:36

3

Is it possible to add shader code to a .tres file? Im messing around with this voxel project: https://github.com/Zylann/voxelgame/tree/godot4 Each voxel's data is stored in a file called voxel_library...
Rigveda asked 17/7, 2022 at 18:17

3

Solved

how do i make this shader only apply vertex offset on vertex color green? shader_type spatial; render_mode blend_mix, depth_prepass_alpha, cull_disabled, diffuse_burley, specular_schlick_ggx; uniform ...
Teaspoon asked 7/7, 2022 at 18:38

2

I want to do a pixelated transition using shaders. On PC everything works just fine, but when I export it to android, transition gets very dark.
Loewe asked 10/7, 2022 at 13:23

2

Solved

i couldnt use COLOR = texture(TEXTURE,UV); because color is already used sorry if this is a stupid question i am very new to shaders basically i want to assign the shader to the texture on the right ...
Holily asked 7/7, 2022 at 12:45

11

Is there any possibility to make use of the tesselation or geometry shader stages in Godot 3? I'm trying to write a plugin to procedurally generate trees with adaptive LOD. For good performance I thi...
Declinature asked 24/6, 2022 at 17:25

2

Solved

Hello, I am currently recreating a foliage shader from Unity into Godot. However I need the Transform-Matrix of the Object on which the shader is applied on. Is there any way to access it or do I ha...
Ieyasu asked 26/6, 2022 at 16:42

1

is there a way to overwrite the global environment settings to make a material use its own reflection map in the metallic parameter? as of now all metallic reflections are set to 'sky' from environmen...
Materiality asked 23/6, 2022 at 18:4

10

Well, this is kind of complex, so I will try to explain it the best way I can. I want to create a bitmap that could then be used inside other scripts. Since the bitmap is a bit big (2048px x 1535px), ...
Sycosis asked 20/6, 2022 at 11:57

2

How can I get this effect in Godot using a shader on a plane mesh? I'm sure this is pretty simple but I cannot get my head around it. From Blender: Incoming: Vector pointing towards the point the sh...
Darrick asked 18/6, 2022 at 14:1

4

Solved

hello, I am looking to try and make a heat map on a 2d texture that changes based on input data, maybe in the form of an array. It would ideally be able to set the color of each pixel based off of val...
Toastmaster asked 15/6, 2022 at 22:34

3

Solved

I have a shader that takes in a cube map. I was trying to pass the cubemap to the shader with this code here, but it still displays the old one. public override void _Ready() { CubeMap tex = new Cub...
Withdrawal asked 13/6, 2022 at 15:12

2

I'd like to be able to move my UVs over a bit in the shader. I tried doing this in the fragment shader: UV.x += 0.0161333333333; UV.y += 0.0226472; But Godot tells me constants cant be modified....
Habilitate asked 28/5, 2022 at 17:31

© 2022 - 2024 — McMap. All rights reserved.