EGA flatshaded cube with VGA palette. @Scalibq
EGA flatshaded cube with VGA palette.  @Scalibq
Uploaded December 2011 | Updated September 2026, 2 weeks ago
This is the EGA cube, with the full 64-colour EGA palette. On a real EGA card this is not possible in 320x200. It only has the 16 CGA colours there. The full 64-colour palette can only be used in 640x350 mode. But on a VGA card, the EGA palette is remapped onto the first 64 entries of the VGA palette. So you can overwrite these colours to change them back from the limited CGA set to the full EGA set.
Or, you could even use proper VGA colours, which are not available on EGA at all.
In fact, some early PC demos, such as Vicky by The Space Pigs and Crystal Dream I/II by Triton use this trick. This gives them nice and smooth VGA colours (although limited to 16 on screen at a time), while being able to render faster than in VGA mode, and getting free transparency ('glenz') effects.

As discussed in my blogposts:
scalibq.wordpress.com/2011/11/23/just-keeping-it-real-old-skool-style
scalibq.wordpress.com/2011/11/29/just-keeping-it-real-part-2
scalibq.wordpress.com/2011/12/17/just-keeping-it-real-part-4-5
EGA flatshaded cube with VGA palette.Truth In Shredding - Shred ThisCommander Keen 4 on ATi Small WonderPlaying a QuickTime movie on OpenGL texturesGuitar Rig Hero ContestScali - Marco Sfogli - Shred This Too contest entry - Take 2Subpixel-corrected flatshaded cube rendered with Amiga blitterAppie X jam in Bmin (take 2, day 2)Alex Kidd VGM with speech sample playing on IBM 5160 with Tandy Clone soundcardLatched 8253 timing of raster-barsTV having trouble tuning into ZX81 signal with no back porchBHM skinning on Android phone
Scali Bohemiq |

EGA flatshaded cube with VGA palette.

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER