Newest Questions

Ask Question
4,210 questions
Filter by
Sorted by
Tagged with
1vote
1answer
35views

I have a 2D texture array of 8 layers attached to 8 color attachments of an FBO as so:...
1vote
1answer
29views

How do I rotate around the instance itself instead of the rotating the entire shader? You can see what I mean by rotating the entire shader in the images below:Here is the main.c:...
cvolpe's user avatar
0votes
0answers
29views

Things with hair used to be hard in computer science.I wonder whether anyone has come up with a smooth animation that turned human skin hair into cat hair by transforming the distance between the ...
0votes
0answers
49views

Say I have a parametric shape, WLOG a Coon's patch.I would like to generate the level of resolution of this parametric shape based on the rendering parameters. E.g. I send the AABB of the patch + the ...
0votes
0answers
49views

I've been working on this hobby game engine in C and Sokol with CGLM for a short while now, and I've ran into a bit of a snag regarding portal rendering. It works as it should when the player camera's ...
0votes
0answers
36views

I have the mixer texture for terrain blending (images attached) and I’m curious how they’re made. Are they procedural (generated by code) or usually hand-painted? Any tips or references would be great....
ffbh's user avatar
2votes
0answers
87views

I have written dithering software, and previously asked a question about that. Now I want to pick palette colours automatically, to make dithering easier for users.The way I've found for doing this ...
2votes
1answer
86views

In the PBRT book section on the equation of transfer, they give the equation$\frac{\partial}{\partial t}L_o(p',\omega) = -\sigma_t(p',\omega)L_i(p',-\omega)+\sigma_t(p',\omega)L_s(p',\omega)$,and ...
4votes
2answers
1kviews

vertices are all defined in NDC by default, so i used an identity matrix as a base, and only used the translation part to define the visible region.the orthographic projection values: l r b t n f-1, ...
Jared Kosiba's user avatar
2votes
1answer
73views

My alpha blending is not working properly. I am making a mini drawing program to use for a game but I've kept running into this issue with the alpha blending and I've been stumped trying to solve it. ...
TielMother's user avatar
1vote
1answer
58views

I am digging into a tutorial atm, but already the first equation is stumping me, and i was looking to not only refine my understanding of it, but also to get some advice on a better DIY approach in ...
Jared Kosiba's user avatar
0votes
1answer
55views

When I switch between two different OpenGL shaders instances do I need to re-upload the uniform variables.For example I have a shader that have a Project and View matrix uniforms defined:...
EndlessLife's user avatar
2votes
0answers
171views

I have been working on a Path Tracer ~ following the Peter Shirley SeriesI decided to add "normal map" feature to the same, Normal Map Tutorial is the tutorial I followed. But the output I ...
1vote
1answer
63views

I know the real value of my view matrix, which is composed of a 3$\times$3 rotation $R$ and a translation vector $\mathbf{t}$$$R=\left(\begin{matrix}0.935002 & 0.0608577 & 0.349381 \\0....
ElPotac's user avatar
1vote
0answers
74views

I followed learnopengl.com IBL tutorial but implemented in on DirectX11, so every shader was converted from GLSL to HLSL. As a result, I have artifacts with some HDRI images and also as I use bloom ...

153050per page
1
2345
281