Questions tagged [graphics]
A very generic term referring to visual part of a game. Try to avoid unrelevant usage and instead tag for specific graphics type (2D, 3D), API, framework or a library you are using, if possible.
1,068 questions
1
vote
0
answers
118
views
Necessity of node-graph-based rendering in simple game engine
I'm working on a C++ game engine for my own projects. It's divided into two parts: one which handles basic functionality like logging, cross-platform abstractions, filesystem utilities, etc., and ...
1
vote
1
answer
269
views
Creating composite transformation matrix to apply in vertex shader
What I'm puzzled about, is why most tutorials on graphics programming speak of creating a composition of transformation matrices - which are then applied in a single loop (to each vertex).
I did the ...
0
votes
1
answer
151
views
Is the "View transform" just a change of basis matrix + a translation applied to each point? (to bring them into camera space)
I am learning about the graphics pipeline. My understanding of the view transformation is that you:
First create a normalized, separate coordinate system for the camera, based on its position and ...
1
vote
1
answer
198
views
How do you create a "View Volume" for beginner 3D graphics?
Observer peers through window into 3D world (in this case three-dimensional Euclidean space). Using analogy of window for simplicity, observer perceives a 2D image from their PoV. A static, 2D ...
0
votes
0
answers
69
views
Could anyone review my introductory understanding of 3D computer graphics? [duplicate]
Observer peers through window into 3D world (in this case three-dimensional Euclidean space). Using analogy of window for simplicity, observer perceives a 2D image from their PoV. A static, 2D ...
0
votes
1
answer
79
views
How to display Moon Phases on Android (simulate rotation)
I've been scratching my head at how to best display a particular mechanic for my RPG which is on Android.
I have a game mechanic where a moon has two opposing faces on it - Life and Death as an ...
2
votes
0
answers
84
views
How to feed lightmap in GPU instanced meshes in Unity?
Unity's documentation state that GPU Instancing supports baked lighting:
Since Unity 2018.1, Global Illumination (GI) rendering is supported by GPU Instancing in the form of light probes, occlusion ...
0
votes
0
answers
89
views
Why do the points of my triangle bend inwards?
I'm trying to make a tiny software renderer in hopes I can make some crappy little game in the far future, and I've hit a roadblock where nothing helps at all. I've found that whenever I go into the ...
3
votes
1
answer
196
views
How to create colorizable vegetation albedo textures similar to Horizon Zero Dawn?
In the talk "Between Tech and Art: the Vegetation of Horizon Zero Dawn", Gilbert Sanders says "we average out the color of our albedo textures to mid gray value".
But the final ...
0
votes
1
answer
392
views
RenderTexture doesn’t work in build
A Gameobject sprite, a Texture2D which is written into using "Texture2D.ReadPixels" works/is visible in the Editor/Play Mode but is not/is invisible when built.
The Texture2D is written to ...
0
votes
1
answer
97
views
post process behavior artifacts on new unity versions
I have an old project that I need to run on Unity 2022.3.40. It uses post process behavior and post process works absolutely fine in the editor, just as before migrating to new Unity. But when I make ...
0
votes
1
answer
71
views
Differences between rotations and translations of different camera properties in LiBGDX
I am trying to understand the camera API (applicable to perspective camera ONLY) of LiBGDX.
It really does not make sense that you can call rotate and translate on many different properties of the ...
0
votes
0
answers
203
views
How to compute screen-space error for LOD selection?
I'm developing a LOD selection system and I would like to select a LOD level based on screen-space error. Could someone explain how I can accurately compute the screen-space error?
0
votes
1
answer
149
views
Update index buffer in Vulkan at run-time
What is the proper way to update at run-time the index buffer in Vulkan?
Many thanks
2
votes
1
answer
184
views
How to check if an AABB is behind another AABB while isometric depth sorting?
I have an isometric scene in a custom engine where my world sim is 3D, but I'm rendering sprites. To depth sort, I follow the approach in this blog post. Basically: wrap each sprite in an AABB, then ...