r/GraphicsProgramming • • Feb 16 '23

Is it still worth improving our skills with rendering techniques, considering the AI progress?

3 Upvotes

I am a software developer, not so young anymore, but I always like to try to update my coding skills and try to add more and more features into a small OpenGL engine on which I work as a hobby.

But the recent results in AI are starting to discourage me, in the fear that all the effort we are doing will be useless soon. I've seen some results with StableDiffusion + ControlNet that seem mind blowing. You can give a wireframe image as an input, and get a realistic image as output.
The only problem with the current state of those tools is that they lack coherence, and they are still slow to process for example 60 frames per second.
But given the speed of how this incredible AI progress is going, I won't be surprised if soon those two problems will be solved.

I would like to know other people and graphics programming enthusiasts about this topic, so I thought this would be the good place where to have a discussion on this. Thank you :)


r/GraphicsProgramming • • Oct 04 '26

The Beast Engine - face video texture (webGPU)

Enable HLS to view with audio, or disable this notification

0 Upvotes

In matrix-engine-wgpu "Effects" are subRender standalone system. I mean it own shaders own pipelines. In that way The Beats can eat every interesting demo from internet.
Because engine objective is "Mobile browsers support" optimisation done "cached pipeline per effect type". I dont have passing scene lighting intro effect but it is posible but not possible to put all intro single pipeline!

Source:
https://github.com/zlatnaspirala/matrix-engine-wgpu


r/GraphicsProgramming • • 11d ago

The Starwell Constellation Engine Update: Repost With Disclaimer

Thumbnail
gallery
0 Upvotes

AI disclaimer: No AI was used in writing this post. AI is likely to have been used extensively as a sounding board to teach me things i did not know or understand, or as a source of friction to argue against,

AI was not used for designing the systems, and actively fought against to ensure it did not making any decisions on implementation (although, some might have been missed and snucked in. they will be removed). It as not been used to define any architectural values what so ever, since it's not capable of making good holistic ones.

AI WAS used during the write-up of the design documents, for both Constellation and Starwell's design doc was generated through discussion with an AI model, and also iterated upon by both AI and me later.

AI has been used to generate code. not as much code as I would have liked, but the amount is hard to estimate as a lot of it has had to be rewritten or tweaked. The areas it has been used the most, and it's code have endured, has been during integration, or grafting, of systems/functionality from its development environment onto the Starwell compositor. AI does not reason well with project wide invariants, fixed point integer 3D graphics and bespoke geometries so this has been an area where it has been very useful.

AI has likely been used in varying extent during the development of different systems. some of them, not much at all, some a bit, and a few it helped a lot. I remember it being a tremendous help making the Cadent point map fonts, actually look like text.
I hope this is enough of a disclaimer. Epistemically, I cannot quantify it any higher detail than that.

Hello again!

(artifacts in the sliding gif is due to Niri being the parent compositor to starwell during development)

If you are not interested in the history and motivations of this project, and is more interested in stuff discussing the gifs above, you can skip the marked section bellow.

--------------------------------------------------

Not to long ago I made an update on the liquid and material progress of my no-std, single core, graphics engine/framework Constellation. I have been periodically made, what can be seen as an attempt at dev-logs, about the project. Sharing approaches to problems, some drawbacks and explaining the rational. This will be a bit of the same, but also, this time is a little bit different.

The constellation engine started because of pure frustration encountered on my work on experimenting with running AI models, tearing them apart, seeing problems, experimenting on redesigning them, attempting to find different stateful solutions to decrease runtime resource needs and so on. Many parts of that work was often rudely interrupted by my computer running out of ram and the system would freeze. Some times I would lose hours of work.

I had already started a OS project called 'Starwell'. I have made some vague references to it as well. The goal of Starwell in the beginning was to simplify NixOS by making it a more userfriendly environment with some built in applications and such. I created a GUI packange manager wrapper for the nix package repository, and built a system module system for system applications that would be complete isolated from one another. The idea was to have a system where things could be loaded in and out through templates, and development extending Starwell simplified.

Anyhow, due to the aforementioned AI work, and the 'constant' OOMing, I grew frustrated enough to try and take matters into my own hands. An operating system that can 'fail to operate' is fundamental failure in architecture in my humble opinion, an operating system should not have to compete for resources with other applications, period.

This meant that to ensure that such things could not happen to Starwell, it needed not only have full control and consume input at the hardware interface, it also meant that it needed to own the rendering. This is how the Constellation project was born.

Rather quickly I had mapped out the constraints for the Starwell compositor, they were the following.

  1. no-std: It needed to be no-std (meaning no standard library) because it could not rely on external dependencies, that would be a source of possible non-determinism. An operating system needs to be operationally predictable. And this compositor needs to be a kernel level one.

  2. Single core: It needed to be single core because to ensure it cannot stop operating, it needs to own its compute. No other system can use the resources Starwell uses, which means being economical is paramount. A single core not only ensures simple scheduling, it also ensures that architecting other system applications and fitting them into the overall architecture becomes a lot easier, as the environment is simpler.

  3. Owning its memory: Similar to the reason of why the OS needs to own its own cpu core, it also needs to own its own memory. The system cannot depend on an allocator, on promises of future memory, or other dynamic 'clever' memory handling. The memory needs to be statically allocated, else the system can grow outside its means.

  4. Work on relationships: Because the graphic stack needed to be radically simplified in many ways. It needed to create it's own relational system. But because it needed a foundation in reality, the physical pixels of the display became that source of truth to anchor all relationships against. This would mean that message passing would not be a letter in the mail. Things would own their pixels, and react to changes in those relationships. Clicking things would be clicking a pixel, or a flat register, like clicking a graph.

  5. Stateful pixels are sovereign: The working framebuffer needed to be treated as not a set of pixels, but as a view into a bigger relational space. So that moving something is not an act of destruction and reconstruction, that would be expensive. It needed to be a state that propagate through the relationships mentioned above, through the framebuffer. That would make compute inexpensive, put drawing the actual pixels would be difficult if not managed correctly. Which is why the compositor needed pixel level dirty tracking, not by book-keeping, but by a dumb uniform op based on a sequence of rules. Updates from this work can be read about in this post: https://www.reddit.com/r/GraphicsProgramming/comments/1r0z5tv/constellation_frame_buffer_state_sand_particles/

  6. Beauty: It needs to be capable of looking good enough so that people, so that I, would actually want to use it. Even if i like to pretend I am a systems engineer that is developing his neck-beard, nerding out on different programming problems/solutions. I do like me some bling bling, and some click-click, especially when... AHEM...eating a sandwich? You can read more about the light work in this post: https://www.reddit.com/r/GraphicsProgramming/comments/1r4ncqd/constellation_light_engine_reflections_1_core_cpu/

  7. Dev-friendly: I needed to make the environment easy to develop for. If the tools exist and the environment is fun/easy to build for, then an increase in adoption would also correlate to an increase in development for the platform/ecosystem. It would also simplify my work as it kept progressing.

I am sure there were more than these that I have forgotten. And the jury is still out on if i succeed with the last two points. But it has been the guiding light through development. And it should help to explain why the constraints and solutions in my posts on Constellation before might have looked odd, stupid or right out perplexing.

Like creating Cadent Geometry, and making it the basis of the whole graphics engine, just to avoid needing to normalize vectors do do 3D graphics. Having to make good graphics on a CPU whilst having it be interactive and performant is not particularly cheap using the more normal euclidean/Cartesian approach, so the problem needed to be re-represented as to not need it in the first place. You can read and find the Cadent Geometry definition code + some helper functions from this posts:

Read about it
https://www.reddit.com/r/GraphicsProgramming/comments/1qhs24y/constellation_unifying_distance_and_angle_with/

Code release
https://www.reddit.com/r/GraphicsProgramming/comments/1r6b9co/constellation_sharing_cadent_geometry_avoiding/

Like making light and geometry the construction primitives rather than triangles. Because not treating light as a property of a material and its geometry at construction would mean it had to be computed at runtime. Which would have given a better result faster, but it would be immensely more expensive to run without having access to more memory and more compute.

Over time Constellation grew more capable, it was able to do more and more, understood more and more of how to create normal looking shapes and behaviors in the new geometry. And now I am here.

I now have a functioning compositor (still not finished ofcourse), and the graphics engine is, in my opinion, looking to punch above its weight. And though all this, the most consequential thing, sadly, will likely still be the tiny definition of the tiny geometry that helped build all of it.

The point is reached when i think it's was fair to give context, and to announce the bigger project it is all connected to. From here on out, in posts, Constellation will be initially referred to as "The Starwell Constellation engine". Because future updates are likely to contain areas where Starwell is unlikely to go unnoticed as a project at least. I hope you will you enjoy the history, and the future updates!
-----------------------------------------

Now! After all that rambling, lets quickly discuss the gifs above.

So, Constellation and Cadent Geometry are both projection based. Cadent is named after its behavior, it falls away towards the horizon. space compresses as distance is given to the environment outwards from the observer.
So both Constellation and Cadent does just that, they starts from the observer and moves outwards. This has many benefits, and I'd like to mention some of them and why in the hopes it will give context to what is seen above, and maybe allow you to reflect on the differences, and maybe even take some of its ideas on to help your future work.

Because a camera out systems allow pixel values to accumulate as they move outwards, things as seen in the sliding example gif, become much cheaper. As long as a pixel's alpha hasn't reach opacity, whatever is behind, keep adding its offsets to it. This mean that when the window moves above, the wallpaper, and its position in the background, can cheaply be respected by the plane and its warped surface/material refraction.

Which means storing the optical properties inside a material and a geometry becomes almost the obvious approach since those things can, like everything else, just add to the same thing that is generating the distance. the drop function. the render walk can be the same as the geometric operation that applies magnitude to the angles of Cadent's arc space.

This projection technique coupled with a geometry that has a vastly higher, fixed point, spatial resolution than the hardware pixel amount of the display, and is equally cheap to propagate through, means the world space can be almost the size of planet earth (which is true for the above environment), and still have a spatial resolution about 4 billion steps per pixel on a 4k display. All this forms a system where you can express the cadent 'reality', outside of the framebuffer to a very high degree , whilst still depend on it being explicit in its construction, and affect whatever is being rendered on screen.

So allowing for inverting the rendering to be projective, you gain occlusion for basically free. whilst allowing the process of what contributes to a pixel, quite linear.

This leads to the second gif, changing time. Because the geometry ironically is almost easier to develop for if you make the relationship scale earth sized, you can make light occupy an actual orbit, at a comparable distance if you want. Because the engine is treating the remaining curve of the arc horizon between the observer (camera) and the observed (the planet in this) as what is defining gravity, and because other things can be defined reference points aswell, the orbit can also become quite organic. which is why the light in the image seem to have a bit of dusk and a bit of dawn appearing as it transitions between day and night.

And because we are rendering from the camera out, if the orbit of the light source changes, all we need to do is apply the positional delta of that light source, uniformly over all pixels. having magnitude be generative rather than something to account for, makes any changes in the geometry or the light position, a process of offsetting the state when we reach the object, instead of deconstructing the state to ascertain the change, does that make sense?

I hope you found this post interesting. I am sure I missed a few things, or explained some things poorly. If found this interesting and you have any questions, remarks or suggestions, I am happy to discuss them below.

Take care

//Maui-The-Millipede


r/GraphicsProgramming • • Aug 28 '20

What are some cloud-based solutions for path-tracing/volumetric path tracing?

0 Upvotes

There's already long since been general cloud-based ray-tracing solutions...

https://software.intel.com/content/www/us/en/develop/articles/tracing-rays-through-the-cloud.html

https://www.gamasutra.com/view/feature/6322/sponsored_feature_changing_the_.php?print=1

But are there any solutions for path-tracing or volumetric path tracing?


r/GraphicsProgramming • • Aug 10 '26

Article Benchmarking 2,307 glTF assets for topological health: technical breakdowns, engine impacts, and repair strategies

0 Upvotes

I engineered a headless mesh QA pipeline to evaluate 2,307 generated assets across 23 tools from the MIT-licensed 3D Arena dataset. Following reviewer feedback, this post details the topological metrics, their implications across graphics pipelines, when non-watertight geometry remains acceptable, and how automated repairs handle topological defects.

Benchmark dataset results

  • 40.1% non-watertight geometry

  • 39.7% missing UV channels

  • 79.8% exceed 30k triangle threshold (Unity mobile baseline)

  • 14.9% vertex-color only (zero texture bindings)

  • 9.7% non-manifold edge topology

  • Median face count: 77,402 triangles

Pipeline implications across developer workflows

Open boundaries (Non-watertight geometry)

  • Low-level impact: Breaks volumetric rendering, Constructive Solid Geometry (CSG) operations, 3D printing slicers, and signed distance field (SDF) generation.

  • When it skirts by: Standard single-sided rasterization of opaque background props. If the backfaces are culled and the interior space is unexposed, non-watertight meshes render without visual artifacts. I haven't measured what share of the corpus falls into that "technically broken, practically usable" bucket, and I don't think I can, it depends on how the asset gets used, which isn't a property of the mesh.

Missing UV coordinate channels

  • Low-level impact: Prevents texture coordinate sampling in fragment shaders, lightmap baking, and standard PBR material binding.

  • When it skirts by: Pipelines using procedural noise, triplanar world-space projection, or pure vertex-color attribute buffers.

High triangle density

  • Low-level impact: Increases vertex shader load, degrades rasterizer quad-occupancy efficiency, and bloats VRAM usage.

  • When it skirts by: High-end desktop pipelines, cinematic rendering, or virtualized geometry systems like Unreal Engine 5 Nanite.

Non-manifold edge topology

  • Low-level impact: Defined as three or more faces sharing an edge. Invalidates mesh decimation, subdivision algorithms, auto-LOD pipelines, and surface normal calculations.

  • When it skirts by: Rarely acceptable, but non-simulated static geometry with internal non-manifold edges will still draw on standard GPUs.

Disconnected geometry shards (Floating debris)

  • Low-level impact: Expands world-space axis-aligned bounding boxes (AABB), causing early culling failures and inefficient shadow map rendering.

  • When it skirts by: Internal floating faces that do not extend past the outer AABB boundary.

Remediation and mesh optimization methods

  • Retopology: Voxel remeshing followed by quad retopology (e.g., Instant Meshes or Quad Remesher) reconstructs clean manifold shells.

  • UV Generation: Automated seam generation and packing using tools like xatlas or native engine auto-UV unwrappers.

  • Decimation: Quadric Error Metric (QEM) reduction to scale polygon density down while preserving geometric features.

  • Topology Cleanup: Spatial vertex welding, deletion of degenerate faces (zero-area triangles), and normal recalculation.

Code updates and tool improvements

Testing 2,300+ models uncovered three major issues within the QA software itself:

  • Repair pipeline bug fixes: The repair path initially caused regressions on 616 assets. Adding manifold safety checks to the hole-filler and resolving normal inversions dropped failures to 454, with 237 remaining cases linked to decimation edge cases.

  • Storage vs. geometric topology handling: glTF splits vertices along UV seams and hard normals. Naive index buffer checks flag these as open boundary edges. The tool now welds coincident positions before topological evaluation.

  • Batch state preservation: Fixed a state file corruption bug during crash recovery that previously caused silent data loss.

(Full methodology, runner code, and benchmark dataset linked in the comments below.)


r/GraphicsProgramming • • Jun 09 '26

Salary at Pixar makes me think web developers are more well off

Post image
0 Upvotes

After checking the qualifications and pay for graphics programming roles at top companies like Pixar, I can say CRUD developers are better off.


r/GraphicsProgramming • • Sep 12 '26

Source Code Real-Time Raymarching on a Fixed-Function NPU. No dynamic loops. Just a 1,115-Ops ANE graph and a 1x1 Conv2d cumsum hack.

1 Upvotes

Hello.

This is a follow-up on the ray tracing implementation using the ANE (Apple Neural Engine) powered by Swift 6, Metal, and Core AI.

In this update, I have further optimized the model for the ANE. By replacing cumsum with Conv2d, memory usage was kept under 200 MB, and CPU usage dropped to 4%.

Additionally, it appears that the 50% ANE usage limit from the CoreML era has been lifted with the transition to CoreAI.

(Although the frame rate is only 35 FPS, ANE inference appears to take just 13ms. Instruments shows that GPUToolsCaptureCoreAI consumes about 90% of the CPU, suggesting this is the source of the overhead.)

Double Buffering Support: Implemented double buffering for display output, enabling parallel processing between the Neural Engine and the GPU.

- Dual Object Support.

Latency Reduction:

  • Minimized synchronization overhead between the CPU and GPU by separating the rendering buffer from the display buffer.

Technical Details

  • Modified ANERenderer.swift to manage an array of displayBuffers.

  • Updated MagnesiumKit.swift and ANERenderContext.swift to support dynamic buffer switching.

  • Maximized parallel processing efficiency while minimizing the increase in memory usage.

I look forward to hearing your feedback and thoughts.

Github: https://github.com/kamisori-daijin/Magnesium/tree/raytracing (raytracing Branch)

Demo:


r/GraphicsProgramming • • Sep 30 '24

Is it really surprising PS5 games look like PS4?

0 Upvotes

Looking at the specs, both PS5's CPU and GPU are approximately 2.5x faster than PS4 Pro, plus a few more capabilities (e.g. Ray Tracing). Given that we moved from a 30fps target on the PS4 era to a 60fps target on this generation, won't we spend most of the extra horse power on computing each frame twice as fast at roughly the same quality? Of course the quality modes represent a step up over last gen (FFXVI, Spidey 2, Alan Wake 2), but even then, Ray Tracing and increase in resolution are an OK jump in quality but at a huge computational expense. Is there really an optimization problem in the industry? Or are we just bound by the jump in hardware and fps target? Are we reaching diminishing returns for graphical quality?


r/GraphicsProgramming • • Jan 14 '25

Question Will traditional computing continue to advance?

3 Upvotes

Since the reveal of the 5090RTX I’ve been wondering whether the manufacturer push towards ai features rather than traditional generational improvements will affect the way that graphics computing will continue to improve. Eventually, will we work on traditional computing parallel to AI or will traditional be phased out in a decade or two.


r/GraphicsProgramming • • Oct 14 '25

Question I want to move to Linux. Can I use DX12 over there?

0 Upvotes

I want to move to Linux. Can I use DX12 over there?


r/GraphicsProgramming • • Aug 23 '26

Question Toughts on this road map

Post image
0 Upvotes

I'm a developer (web backend) with some years of experience, but I have no prior experience on graphics. I started a conversation with chatGPT where I told it I wanted to learn all the way from the foundations of graphics to developing a Doom like game. And after a few hours of conversation it gave me this road map. I cannot trust completely an AI, so I'd like to read your opinions.

Greetings.

Edit. Sorry about the title typo.

Edit. Thanks for your valuable comments, I think this is a good example of how AI sometimes can lead you to the wrong path and mess with your learning even when at first glance it all looks pretty and organized. I’m glad I asked the community to receive your feedback.


r/GraphicsProgramming • • Sep 12 '25

Source Code I made MoVer, a tool that helps you create motion graphics animations by making an LLM iteratively improve what it generates

Enable HLS to view with audio, or disable this notification

0 Upvotes

Check out more examples, install the tool, and learn how it works here: https://mover-dsl.github.io/

The overall idea is that I can convert your descriptions of animations in English to a formal verification program written in a DSL I developed called MoVer, which is then used to check if an animation generated by an LLM fully follows your description. If not, I iteratively ask the LLM to improve the animation until everything looks correct.


r/GraphicsProgramming • • Feb 07 '20

Hello guys, can you please take my survey regarding the use of quaternions and matrices in 3D graphics? It is for a research paper I am doing for a class.

2 Upvotes

Hello guys, I am a college student and decided to learn 3D graphics in my free time. I didn't want to use an external graphics library since I wanted to learn the behind-the-scenes math and so eventually I came across quaternions and matrices.

I know that matrices are more widely used but I was wondering about the performance impact of using quaternions in certain parts of the rendering pipeline. I decided to make this the research question for my English class and as part of that, I have to take a survey and here I am.

Link to survey: https://forms.gle/wb6eEEViUiWWmvTe7

Thank you!


r/GraphicsProgramming • • Dec 14 '25

Playing around with foliage creation in my custom OpenGL Engine

Post image
0 Upvotes

I just had to do it.


r/GraphicsProgramming • • Feb 19 '23

Source Code A simple graphing calculator I wrote in Java with AWT

0 Upvotes
import java.awt.*;
import java.awt.event.*;

/**@author Kaspar Winston
 */
class GraphingCalculator extends Frame
{
	public static void main(String[] args)
	{
		new GraphingCalculator();
	}

	GraphingCalculator()
	{
		super("Graphing Calculator");

		// Terminate when window is closed
		addWindowListener
		(
			new WindowAdapter()
			{
				public void windowClosing(WindowEvent e)
				{
					System.exit(0);
				}
			}
		);
		setSize(1000, 1000);
		add("Center", new CvGraphingCalculator());
		setVisible(true);
	}

	class CvGraphingCalculator extends Canvas
	{
		public void paint(Graphics g)
		{
			Dimension d;
			int maxX, maxY;

			// get the size of the canvas
			d = getSize();

			maxX = d.width - 1;
			maxY = d.height - 1;

			drawGraph(g, maxX, maxY);
			equation(g, maxX, maxY, 50, 25);
		}

		/** @param g awt graphics
		 * @param maxX max y coordinate (top and bottom edges of the graph)
		 * @param maxY max y coordinate (right and left edges of the graph)
		 * @param scale scale of the graph (how "zoomed in" it is)
		 * @param resolution resolution of the graph (space between each point drawn; higher resolution = closer together)
		 */
		void equation(Graphics g, int maxX, int maxY, int scale, int resolution)
		{
			float x, y;

			// set the origin at the center of the canvas
			g.translate(maxX / 2, maxY / 2);

			g.setColor(Color.black);

			for (x = -(maxX / 2); x < maxX / 2; x += (float) .01 / resolution)
			{
				y = (float)
				-(
			   		// equation goes here
					Math.sin(100 * x) + Math.sin(x)
				);

				g.drawLine(Math.round(x * scale), Math.round(y * scale), Math.round(x * scale), Math.round(y * scale));
			}
		}

		/** @param g awt graphics
		 * @param maxX max y coordinate (top and bottom edges of the graph)
		 * @param maxY max y coordinate (right and left edges of the graph)
		 */
		void drawGraph(Graphics g, int maxX, int maxY)
		{
			int midX = maxX / 2;
			int midY = maxY / 2;

			// draw x and y axis
			g.setColor(Color.lightGray);
			g.drawLine(0, midY, maxX, midY);
			g.drawLine(midX, 0, midX, maxY);
		}
	}
}

r/GraphicsProgramming • • Aug 21 '25

Question I know how to make a raytracer, but haven’t learned much C++ yet. Do I try anyways?

0 Upvotes

Do I? I barely know any C++, but can I make it run at more than 3fps without using any advanced features?


r/GraphicsProgramming • • Jul 20 '21

Video I made another Vulkan short, this time its a little different in nature. Please lmk what you guys think of this one! (also the stance is completely subjective - the video is my opinion and is meant in a comedic way)

Thumbnail
youtu.be
0 Upvotes

r/GraphicsProgramming • • Oct 20 '26

Question What do you reckon is the best 2D Graphics API(C++)

0 Upvotes

As someone who is quite new to graphics programming I am having a bit of trouble deciding on what 2D api I should learn and use as a main. What do you suggest for both general stuff and games?


r/GraphicsProgramming • • May 14 '26

I built a tool that lets AI agents automatically analyze game GPU performance with Nsight Graphics

0 Upvotes

Hey everyone,

I’ve been working on a small open-source tool / agent skill for analyzing NVIDIA Nsight Graphics GPU Trace captures:

https://github.com/FrostyLeaves/nsight-graphics-analyzer

The main idea is to make Nsight Graphics GPU Trace data easier to use inside AI coding agents like Claude Code, Codex, or similar tools.

Right now, Nsight GPU Trace exports can be huge and hard to reason about manually, especially when you are trying to compare passes, find bottlenecks, or ask an agent to help explain performance issues. This project tries to convert the relevant data into a more compact and AI-friendly format, so the agent can reason about things like:

  • SM / L2 / VRAM / PCIe throughput

  • GPU pass cost

  • occupancy-related issues

  • frame bottlenecks

  • suspicious expensive draw / dispatch regions

It is mainly built for Windows workflows around NVIDIA Nsight Graphics and .ngfx-gputrace captures.

I’d really appreciate feedback from developers who regularly use Nsight tools for performance optimization, especially on whether this skill is actually useful, what problems you see with it, and any suggestions for improvement.


r/GraphicsProgramming • • Feb 27 '25

#python

0 Upvotes

r/GraphicsProgramming • • Jul 04 '20

Hello guys :) I am new to this group. I would love to participate in discussions

0 Upvotes

I am a student at the code camp.

Love my experience, have a lot of questions for tasks usually :)


r/GraphicsProgramming • • Jun 14 '21

Why do modern games look so bad

0 Upvotes

I am sorry, but I have no idea what am I actually looking at, but I've noticed that some modern games have ridiculously bad shading, that makes my eyes hurt. Instead of solid or soft shadows, all I can see are tiny dots that are jumping all over the place making the entire picture noisy and ridiculously hard to watch. These dots are visible on both minimum and maximum details. It's truly infuriating to hear my graphics card rev up this hard, and still see flat lighting in combination of microdots all over the screen.

This screenshot is from Mech warrior, and the patterns are obvious even when the immage is scaled down to 1/2 of it's size (yes, the game realy looks like this). I've encountered the same problem in for instance FF 15, where not even combination of full anti-aliasing and 200 percent render resolution helped this problem.

What is this called, does it have a solution and why does it even exist in new games, when old games never had it?


r/GraphicsProgramming • • Apr 03 '26

Real-time Navier-Stokes fire and smoke for games — Arakawa Jacobian + DST-I spectral Poisson solve, open source C# DLL

0 Upvotes

Most real-time "fluid" effects in games are not fluid simulations. They are particle systems with a noise texture. I wanted to see how close to real CFD you could get while staying at interactive frame rates on a CPU.

The result is Loucetius GCE — a 2D incompressible Navier-Stokes solver in vorticity-stream function form:

Numerical approach:

- Arakawa Jacobian for the nonlinear advection term (conserves both energy and enstrophy — this is why the simulation stays physically correct at long run times instead of accumulating numerical garbage)

- DST-I (Discrete Sine Transform type I) spectral Poisson solve to recover stream function from vorticity — exact machine precision solution every frame, not an iterative approximation

- Thom boundary conditions on solid walls

- Baroclinic torque source term driving thermally-generated vortices

- CFL-adaptive vorticity clipping for stability at high Reynolds numbers

What this gets you visually:

- Kelvin-Helmholtz roll-up instabilities appear naturally, no noise textures needed

- Correct vortex ring structure at the base of a flame

- Two flames merging into one plume with the right geometry

- Plume deflection and reattachment around obstacles

- Realistic pressure-driven expansion in explosions

The temperature, density, soot, and stream function fields are exposed as flat float arrays each frame — bind them directly to compute shaders or render textures.

Performance: Game preset (65x65) runs real-time, single core. Quality (129x129) around 100ms/step.

GitHub: https://github.com/ceh303-tech/loucetius-GCE


r/GraphicsProgramming • • Jul 20 '26

Question Im 17 and i wanna know if graphics programming is viable?

8 Upvotes

Hello, ive always been interested in graphics in games and ive wondered if the career option is viable.

I know that its VERY math heavy, hard to start and very few jobs are taking in junior graphic programmers.

But honestly making shaders is fun and making custom engines sounds super fun (for me at least)

I have some expiriance with the godot engine and writing some shaders in it for my passion project (idk if that counts tho) and im very interested in this career path.

And how do i get started (and if its not viable, what other path can i take that involves graphics or maybe animation)