Questions tagged [rendering]
The process of generating an image or series of images from a model by means of computer programming.
1,297 questions
0
votes
0
answers
49
views
LibGDX NullPointerException from a scene 2D Actor calling Pools.obtain()
fire (Event event) method throws the NullPointerException. Trace:
...
0
votes
0
answers
43
views
Same prefab appears very different inside another parent
I am on Unity 6.
I have 2 prefabs: the buildings shown in this picture.
Each of these prefabs includes another prefab, which is the "hexagonal tile".
It's the same "hexagonal tile"...
0
votes
2
answers
261
views
How can I efficiently render lots of moving objects in a game?
I'm using OpenGL but this question should apply generally to rendering.
I understand that for efficient rendering in games, you want to minimize communication between the CPU and GPU. This means pre-...
0
votes
0
answers
64
views
Why is raylib not drawing one corner?
I have simple raylib code here:
...
0
votes
1
answer
103
views
OpenGL doesn't render even though all Objects and Data seems to be correctly set up
No shape seems to show up on screen even though I have meticulously verified everything.
The data set I use which is parsed by my code CORRECTLY(I checked that) to be loaded into a generic array ...
0
votes
0
answers
52
views
Analyzing lag spike in Monogame
The game I am making is having big lag spikes once every 10 seconds or so while running. The spikes seemed to correlate with garbage collection (although I can't be 100% sure), so I thought my problem ...
2
votes
1
answer
105
views
Second URP Lit material shows pink on FBX model exported from Unreal 5
I'm trying to get materials working on a model imported into Unity 6, from Unreal Engine 5, but for some reason one of them isn't showing. I have played around with a few of the settings with no ...
1
vote
1
answer
128
views
How do I render a sector (pie/cake slice) of a circular Unity 2D GameObject?
I have a circular GameObject in Unity 2D with a SpriteRenderer attached.
I want to attach a custom component to my ...
0
votes
0
answers
141
views
How do browsers render text using any font, any modifier (like bold, italic...) so fast?
Background:
I am implementing a 2d renderer using OpenGL and currently working on rendering text.
What I have so far:
you can generate bitmap fonts from given font files (like .ttf). It works by ...
0
votes
0
answers
83
views
Raycast DDA: Wall rendering and floor rendering out of sync
I come for theory help with a classic raycast algorithm (currently, based on DDA). The problem is not with the algorithm itself, but with the floor rendering code.
I left the code of my raycast render ...
0
votes
0
answers
50
views
How to build directional light view / proj matrices in DirectX11?
I think I built my matrices wrong:
...
1
vote
1
answer
143
views
Smooth diagonal movement with 2:1 isometric sprites?
I've made a custom engine that uses 2:1 isometric sprite graphics with a 3D world simulation. Each render tick, I convert each entity's world position into a screen position, and render their sprite ...
1
vote
0
answers
61
views
glBufferData on GL_DRAW_INDIRECT_BUFFER causes rendering isues
I've been writing a renderer in C++ using OpenGL. Recently I wanted to implement indirect batch rendering using glMultiDrawElementsIndirect. When I try to test this ...
1
vote
1
answer
99
views
Why do I see a wireframe when rendering with conservative rasterization and disabled Z writes?
I wrote a shader that implements most ShaderLab commands:
Rendering without anything fancy:
After enabling conservative rasterization:
After disabling Z write:
Ironically, that's exactly what I ...
0
votes
0
answers
61
views
What is the rendering method used in "viewport shading: solid" in Blender?
https://streamable.com/km0hv0
I want to make a low-poly game.
I noticed that in blender in viewport shading mode, when the camera rotates, the face progressively change color, from grey to black, ...