7,004 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
2
answers
116
views
Can anybody figure out why my water shader flattens out when the both the X and Z coordinates of the position are an integer?
I am making a game in unity and decided to start making the shaders for various things like fire and smoke. When I went to make a water shader, it worked for the most part, but in the specific ...
0
votes
0
answers
71
views
URP stencil volume disappears when no objects are inside it
I am new to HLSL and I am trying something simple, but for some reason can't get it right.
I'm using URP with two Render Objects features:
Write Stencil Volumes (layer: OcclusionVolume), which ...
1
vote
0
answers
86
views
How to prevent pixels from overwriting each other in processing?
I am learning dithering, and the best way for me to do this is to play around in processing. My end goal is to create something that mimics the aesthetic of The Return of Obra Dinn.
My code so far ...
Advice
1
vote
2
replies
54
views
Is optimization done at graphics pipeline creation time between stages?
The reason I'm asking this question is because I have cases in a vertex shader where I have:
layout (location = 0) out float3 outEyeSpacePosition;
layout (location = 1) out float2 out_tex_coords;
And ...
Advice
0
votes
0
replies
77
views
Webgl Threejs canvas performance optimization
Hi guys i am trying to make a website with 3d model in it and you can apply patterns designs texts stickers on the model i am doing it with canvas atlas which is every assets renders inside the oen ...
0
votes
0
answers
71
views
Drawing a color wheel with fxc shader in a WPF app
I want to achieve something like this with fxc shader in a WPF application.
So far, with the below hlsl (High-Level Shading Language) code, I managed to produced this picture:
The problem is that I ...
1
vote
0
answers
148
views
Unable to render sprites in batches / instances using SDL3 GPU API and Odin. SSBO is not available to shader
I am new to graphics in general, so I am trying to learn from others.
After drawing a triangle, a quad and then a sprite on top, I have been trying to get a batch of them on screen using instancing.
...
2
votes
1
answer
178
views
Ursina Engine Shaders MacOS
I have freshly installed ursina in a virtual environment. I am trying to set up a basic scene with some lighting:
from ursina import *
class Pivot(Entity):
def update(self):
self....
0
votes
0
answers
79
views
RenderingServer cannot access global shader params
in Godot 4.4.1 I'm trying to access shader variables in code to do some math for my game. However, Even though I have set these shader parameters in global/shaders in project settings they don't show....
1
vote
2
answers
145
views
GLSL shader not showing anything in scene in THREE.js - why?
I'm trying to make my own shader for a THREE.js project I'm working on, and I wanted to make a GLSL shader as part of it for one of the meshes in my scene. However, despite writing very basic code for ...
0
votes
1
answer
225
views
I'm trying to use shaderc to compile a shader but keeps throwing an error that doesn't even seem relevant to my shader code
I'm on Linux and I am trying to compile basic shaders for bgfx using shaderc.
My Compile Lines:
shaderc -f ./vs_triangle.sc -o vs_triangle.bin --type vertex --platform linux --profile spirv --...
-2
votes
1
answer
59
views
Unity - Shader Graph - Channel Mixer [closed]
I started learning Unity and Shader Graph. Right now I try to understand, how the Channel Mixer is working internally.
I put in a color R 50,G 100,B 150 and the configuration on the output-R channel ...
0
votes
0
answers
167
views
How would I resolve this redefinition error in HLSL, despite not redefining anything?
I am currently learning how to write shaders in Unity, as the Unity environemt is most comfortable for me to use.
I want to create a procedural terrain, and currently trying to light it using ...
0
votes
0
answers
81
views
Flutter shaders: aurora points blending
I have an application that displays the northern lights on a map.
I receive a lot of points that need to be rendered (2000+ points).
Here’s what the final result should look like:
Since this puts a ...
0
votes
0
answers
64
views
Why is my shader's linear map range function not smooth?
I am trying to port a Blender shader to WGSL. My plan is to port over every node I need as a WGSL function (unless the node already has an equivalent in WGSL). Currently, I am trying to create an ...