Skip to main content

Questions tagged [rendering]

The process of generating an image or series of images from a model by means of computer programming.

Filter by
Sorted by
Tagged with
1 vote
1 answer
60 views

I should start by clarifying that when I say "Isometric" I am talking more broadly about top-down games that use a "cheat" to display things on a z-axis, rather than being limited ...
Sad Robot's user avatar
0 votes
1 answer
91 views

I was working on this idea of drawing a cone rotating on the y axis with a parametric equation, using a compute shader with a function like: ...
philB's user avatar
  • 331
0 votes
1 answer
62 views

I'm currently working on a Unity BepInEx Plugin that should allow users to customize certain textures in the game. As part of this, I need to extract sprites from a sprite atlas into individual ...
Ashiepaws's user avatar
0 votes
0 answers
42 views

So in my game I'm using a message queue for everything, very similar to an event manager or event queue pattern. I've seen that lots of people use them, and they decouple when the event fires and ...
Andy Isbell's user avatar
1 vote
0 answers
182 views

I’m a beginner developing a 2D game in SDL2 using C with a visual style that uses crisp high resolution graphics (like geometry dash and Hollow Knight -- not pixel art). I want the game to scale ...
NewCoder's user avatar
0 votes
0 answers
61 views

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"...
Nephen's user avatar
  • 1
0 votes
0 answers
91 views

I have simple raylib code here: ...
SK19's user avatar
  • 123
0 votes
0 answers
66 views

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 ...
Depenau's user avatar
  • 111
1 vote
1 answer
153 views

I have a circular GameObject in Unity 2D with a SpriteRenderer attached. I want to attach a custom component to my ...
Robin's user avatar
  • 724
0 votes
0 answers
96 views

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 ...
Jay's user avatar
  • 1
1 vote
1 answer
186 views

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 ...
Archduke's user avatar
1 vote
1 answer
136 views

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 ...
aybe's user avatar
  • 815
0 votes
0 answers
25 views

I'm making a 2d isometric game in Unity, but my sprites don't render well when they overlap. For example, in this image the skeleton monster renders behind the dragon, but in an isometric view we ...
ineedahero's user avatar
1 vote
1 answer
634 views

I'm following a bunch of tutorial series on how to set up Direct3D 11 for 3D rendering, I'm focusing on the swap chain part for now. The main tutorial series I am following is the one by PardCode on ...
whitecloth's user avatar
0 votes
0 answers
51 views

I'm currently making an LOD system for terrain. I have a high-res mesh: And a low-res mesh: As you can see, the high-res mesh is significantly brighter than the low-res mesh. They are definitely ...
Jimmy Diddler's user avatar
0 votes
1 answer
100 views

I load a large tileset image in at the start of my program. To draw the game world, I loop over a 2D array of tile IDs and based on that ID I cut out a 16x16 portion from the tileset and draw that as ...
ChocolateCyanide's user avatar
0 votes
0 answers
156 views

I am trying to write a 3d Renderer in C using SDL and cgml but my shading seems to be not working correctly. When rendering the teapot I get seams and when I want to render a cube I get a bright white ...
Finn's user avatar
  • 1
0 votes
0 answers
207 views

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?
Giuseppe's user avatar
2 votes
1 answer
186 views

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 ...
Archduke's user avatar
2 votes
2 answers
356 views

In older systems, the CPU calculates the final vertex positions and feeds those, along with material properties, color, lighting info and uv position for each vertex and the GPU renders the image ...
NMITIMEN's user avatar
0 votes
1 answer
73 views

I do have a problem with loading my vertexes. When I debug my code. I find out the vertexes are loaded. But when i use render doc, I found out the vertexes are not loaded. Only the first line of my ...
mueoc mueoc's user avatar
0 votes
2 answers
217 views

I want to create a 3D Top Down Battle Royale game in Unity and wanted to add a mechanic to color the floor, walls and ceiling, just like in Nintendo game Splatoon. I know that you can color a 3D shape ...
CheckerT's user avatar
  • 176
0 votes
0 answers
55 views

In the Menu scene I have canvas with buttons and some 3D objects that are visible in camera's view. However one object - "the red prompt Arrow" is jumping in and out of visibility. Like here ...
NationalGeographicProgrammer's user avatar
0 votes
0 answers
296 views

I am using OpenGL to render sprites, using an orthographic projection. Each sprite has a position: (x, y, ...
Eilan Laken's user avatar
1 vote
0 answers
60 views

I have the following deferred rendering setup: The first render pass renders the scene to a fixed size image (2048x2048) from the directional light's point of view to one color attachment as a shadow ...
Symlink's user avatar
  • 133

1
2 3 4 5
27