shading Questions
4
I try to load a scene that's in gltf format. It has metallic and roughness textures (not embedded). Now I want to load the model with the specified textures using Assimp. I retrieve the textures us...
2
Solved
Prologue
I finally got around HW incompatibility between AT32UC3xxxxx and SSD1306 OLED I2C display (both have HW bugs making them incompatible) allowing me to use HW I2C at 400KBaud (~26.6ms per fr...
Shuster asked 6/3, 2021 at 8:45
1
Solved
As I understand it, Gouraud shading calculates light color for each vertex and does interpolation on that color, whereas Phong shading interpolates the normal for each pixel and calculates light co...
2
Solved
I have some shaded area in a plot and I'd like to label that shaded area with a small rectangle of the same hue as the shading in the plot.
I'm using gnuplot - my shading in the plot is achieved ...
1
Solved
I read that that in Gouraud Shading, the color for the fragment is computed in the Vertex Shader. Whereas, in Phong Shading, the color for the fragment is computed in the Fragment Shader.
In this ...
Crepuscular asked 22/4, 2018 at 13:8
2
Does it make a performance difference in GLSL if something simple like a + operator is wrapped into a function?
So for example these two scenarios:
Example 1:
in uniform float uValueA;
in unifo...
Penstemon asked 7/12, 2017 at 22:51
1
Consider the following MATLAB code:
C = [ 0 0 0 0 0
0 1 2 1 0
0 2 4 2 0
0 1 2 1 0
0 0 0 0 0 ];
pcolor( C );
shading interp;
axis square
Note that C is invariant under 90 degree rotations. Al...
Hyams asked 18/11, 2017 at 15:32
1
© 2022 - 2024 — McMap. All rights reserved.