-1
\$\begingroup\$

I'd like to know how to render games like a.e. Imscared https://gamejolt.com/games/imscared-a-pixelated-nightmare/10058 Its a great game and I wanted some games with a similar art style so..... Yeah!
thanks! :D

\$\endgroup\$
6
  • 2
    \$\begingroup\$ What stops you from simply making the resolution smaller and scaling it? \$\endgroup\$ – Bálint Nov 3 '17 at 18:04
  • \$\begingroup\$ Actually! I considered something like this, but I didn't think it would look like wanted it to but I'll try it and write how it worked out \$\endgroup\$ – niclas werther Nov 3 '17 at 19:58
  • 2
    \$\begingroup\$ Why wouldn't it work for your case? I imagine you could just use low res textures and then disable linear texture sampling and lower the resolution of your frame to get the effect in Imscared. \$\endgroup\$ – Jason Nov 3 '17 at 20:23
  • \$\begingroup\$ Everything else would have to be dealt on within the shader layer on the gpu directly. \$\endgroup\$ – Yosh Synergi Nov 3 '17 at 20:52
  • 1
    \$\begingroup\$ This game is just an upscaled low resolution Unity game \$\endgroup\$ – Bálint Nov 4 '17 at 9:23
0
\$\begingroup\$

You just render the game in a lower resolution and then upscale it without interpolation to achieve large pixels.

The one thing where you would need a shader for is reducing the number of colors. You can do that with a pixel shader which only outputs a reduced color palette. You can do that by simply discarding the last few bits of the R, G and B component.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.