Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rendering question
#4
The palette effects could be implemented with GPU shaders starting at OpenGL 3.0 (DirectX 10) or newer. There are other technical reasons for Tilengine being CPU based without any kind of GPU support. GPU is efficient when filling large batches of data without CPU intervention. But Tilengine renders individual scanlines in order, letting the CPU modify any parameter between scanlines. This strictly disaollows parallelization, as scanlines are sequential. The bottleneck of CPU/GPU communication would be higher than the time spent drawing the tiny amount of pixels required by a single scanline. This would be different for very high resolutions, but Tilengine is geared towards classic/retro pixel art, that is low resolution in nature.

This independence of GPU allows to run Tilengine on any kind of 32-bit CPU and render frames on it, even if it doesn't have video output.

Thanks for asking!
Reply


Messages In This Thread
Rendering question - by Midnight Syntax - 04-06-2021, 08:34 AM
RE: Rendering question - by megamarc - 04-06-2021, 03:22 PM
RE: Rendering question - by Midnight Syntax - 04-07-2021, 03:56 AM
RE: Rendering question - by megamarc - 04-07-2021, 06:14 AM
RE: Rendering question - by Richard Kain - 05-01-2021, 03:31 AM
RE: Rendering question - by megamarc - 05-01-2021, 07:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)