From https://learnopengl.com/Getting-started/Shaders I read: Shaders always begin with a version declaration, ... But on OpenGL Window Example ...
From https://learnopengl.com/Getting-started/Shaders I read: Shaders always begin with a version declaration, ... But on OpenGL Window Example ...
I've been learning Three.js and I can't seem to wrap my head around shaders. I have an idea of what I want, and I know the mathematical tools within t ...
I am not a shader person, i have 1 shader available that can turn images in Unity Engine black and white, now i want to fix this shader to be transpar ...
how can i get an input to the vertex shader of type uint_fast64_t? there is not such type available in the language how can i pass it differently? my ...
I am developing a Metal macOS app that displays my own 3D models and some other 3D model.obj I import through the Model I/O. I am getting some conflic ...
maybe someone could give me a hint. I wrote a shader that draws a circle on a plane.The circle is colored in two colors mixed together. I would like t ...
I am having some trouble using an sfVertexArray to draw textures to the screen, using vertex and fragment shaders. If I load the texture directly fro ...
I'm trying to implement a simulation of an ocean based on this tutorial but I can't get my shader to affect my plane. It stays completly flat whatever ...
I've got a vertex shader that doesn't want to compile, but I see absolutely no reason for the error it is giving. It's failing with the following erro ...
Using the information from Apply color gradient to material on mesh - three.js I was able to create a flower shader that applies the color vertically ...
I'm learning OpenGL. And I just learned about matching an output variable in a vertex shader to an input variable in a fragment shader by giving them ...
I need to use functions such as textureSize() in my fragment shader, but they aren't available in GLSL 100, which is what PIXI defaults to. If I try t ...
I've had an issue with normal maps not behaving correctly in my custom shader and finally managed to find the cause. It turns out it was the way UV of ...
I'm creating a custom lighting shader using the Unity Shader Graph and I want to add support for normal maps. I've read a bit and from what I understa ...
Lets say I have a geometry which I am using the vertices of to create Points or an InstancedMesh. But then I want change this underlying geometry to s ...
so here is my problem. I have to make a rabbit grow and shrink using a time variable and a cos() I managed to pass the time variable to my vertex shad ...
I am rendering a quad to a blank screen with its depth first cleared to (0.25). The depth of each vertex is set equal to its y coordinate, and it is a ...
I am using three.js and I want to create geometry 16x16 size. I want that each segment is different color and some of them is transparent. What is the ...
In my code, I'm mixing two textures. I want to position a texture at any place on the plane but when I add an offset to the texture UV XY coordinate t ...
I am trying to alter vertex positions in a vertex shader to form a sine curve along a shape's surface. As seen in the middle of the page here, a sine ...