Shaders Questions
2
I'm not sure what the correct way to write this is:
vec3 plane_a_point_1 = vec3(0.791629, 0.901993, 0.380778);
vec3 plane_a_normal = vec3(0.3298,0.81282,-0.48016);
vec3 vector_from_plane_a_point...
Titre asked 24/5, 2022 at 18:22
17
im confused how the detail texture option in a spatial material is designed.
when setting detail color to multiply it messes up the base texture , i mean its not like a standard multiply function in ...
Raisin asked 14/5, 2022 at 13:43
2
In Blender we can edit the active scene using a node based interface that looks like the image above. We can for example create shaders that way and so on. When these graphs become too complex, or wh...
Alby asked 7/5, 2022 at 15:58
4
My shader has a very large texture as a parameter--basically a texture atlas with lots of sprite graphics. I want to make small edits to it each frame - a pixel or two here and there so you can see ru...
Goins asked 26/4, 2022 at 18:44
4
I came across this Blender addon called Physical Starlight and Atmosphere that I decided to buy in order to have a look at its internals and see if I can learn something. It ends up it's not that co...
Dorelle asked 21/4, 2022 at 20:23
6
So I'm using a canvas item shader with the fragment function, and I'm trying to make it so that different sections of the player sprite are a different color based on each pixel's y position relative ...
Hipster asked 19/4, 2022 at 8:55
13
I can post my code if you wish. Do you need a shader part too?
Regarding performance, I think the main bottleneck is in setting the texture pixels on the cpu side. Passing an array may be faster. I'm...
Fujio asked 16/9, 2021 at 17:30
5
I am not talking about post processing settings I want to make my own effect.
Propound asked 9/4, 2022 at 19:39
2
Hello,
[Context] For a specific case of shader merging, I had the idea to parse two shader files and then merge the list of variables, the content of fragment shader, vertex shader methods.
Are the...
Teak asked 5/4, 2022 at 5:33
2
I've been working on a shader that should make a viewport display whatever is in it like those old LCD grid screens. The real low pixel ones. It almost works. I can cut it in lines going in one direct...
Euphemism asked 3/4, 2022 at 11:9
8
I'm currently trying out the new shader globals in a project of mine.
But I can't get it to update the value.
I set up a very simple shader:
shader_type spatial;
uniform sampler2D _tex;
global unifor...
Hafer asked 26/3, 2022 at 14:11
10
I'm stacking ColorRects in a global autorun as a way of applying screen-space shaders to the entire game:
I have two shaders, a color reducer:
shader_type canvas_item;
uniform sampler2D palette : hi...
Archipelago asked 26/3, 2022 at 15:40
10
This is the Godot 3D default cube:
I want it to look more like this:
The differences between the Default Cube and my wanted cube are:
- Faces are not rendered
- Every Line must be outlined with a f...
Porter asked 7/2, 2021 at 14:13
4
The image loses the filter once a shader is applied
Is there a way to fix it ?
Ive tried multiple thing adding a view port...
a sprite with a view port texture...
and the result is always the same i ...
Kinny asked 15/3, 2022 at 16:29
2
These are my coordinates in object space:
These are my coordinates of the top face in UV space:
The coordinates map from UV space to object space like this:
I would like to rotate the UV mappi...
Snubnosed asked 4/3, 2022 at 2:35
16
So, another question on shaders.
Well, its just that, is in the experimentations i had it seens that for each run( in this case, pixelwise, of the fragment shader), it seens to reset the variables to...
Resee asked 2/3, 2022 at 14:21
4
I've studied all the shader docs I could find and I'm still almost clueless. I ran into a problem where bigger images needed a higher amplitude of pixelation to look the same as a smaller image. Makes...
Manion asked 2/3, 2022 at 2:47
2
I've created a mesh that I'm trying to use for bush leaves. Since I would like the side facing away from the light source to be lit the same way as the side facing the light source, I've tried enablin...
Housebreak asked 27/2, 2022 at 7:10
13
My task should be very simple: constrain the lighting caused by a Sprites normal_map to the original textures pixel resolution. reduce all lighting to the resolution of my Sprites texture. I want to g...
Oralle asked 12/2, 2022 at 17:19
3
Any help?
Partlet asked 6/3, 2021 at 19:55
27
Anyone who worked with Blender is familiar with procedural textures in material nodes. I use them all the time to generate stuff like scratches on walls, certain types of metal plates, even wooden flo...
Backhander asked 20/1, 2022 at 16:17
5
I was surprisingly unable to find an answer to this basic question after an hour of searching online. How do you convert a grayscale bump map into a normal map inside the Visual Shader editor? There a...
Ebracteate asked 12/2, 2022 at 17:48
3
Hello,
I kinda like proceduralism as much as possible. But is it a good and optimize way to do texturing in game? Or using texture tiles are better?
For testing I was fiddling around visual shader an...
Chromyl asked 11/2, 2022 at 21:32
2
Hi all!
I created a gridmap using some Quadmesh nodes with no collision shape and simple textures to create some trees and grasses for my 3D game. They're billboard, but sometime, depending of their p...
Tetramethyldiarsine asked 9/2, 2022 at 21:28
4
I'm using vertex alpha to make some regions in my model blend together. Is there a way to make Godot's SpatialShader use vertex alpha for transparency?
Modesta asked 10/2, 2022 at 2:44
© 2022 - 2024 — McMap. All rights reserved.