New answers tagged shader
0
votes
Model matrix for batch renderer as uniform or vertex attribute?
Just realised I can apply the necessary transformations before uploading the vertex positions to the GPU.
Thanks for being a rubber duck!
Top 50 recent answers are included
Related Tags
shader × 236opengl × 86
glsl × 59
rendering × 27
texture × 27
fragment-shader × 18
hlsl × 17
lighting × 16
c++ × 13
gpu × 12
unity × 12
raytracing × 9
mathematics × 9
uv-mapping × 9
3d × 8
vulkan × 8
performance × 8
brdf × 7
compute-shader × 7
vertex-buffer-object × 7
directx × 7
transformations × 6
algorithm × 6
computational-geometry × 6
image-processing × 6