Author Topic: Openxcom Shader  (Read 7187 times)

Offline powerc80

  • Sergeant
  • **
  • Posts: 43
    • View Profile
Openxcom Shader
« on: March 22, 2013, 11:15:30 pm »
I noticed new addition of the OpenGL feature, and I was experimenting with the different shaders. Unfortunately, most of them were bad.

So I thought I'd try my had at making a shader that displays similar to the original X-com, with only slight smoothing.

https://i.imgur.com/ish68pw.png
« Last Edit: March 22, 2013, 11:28:13 pm by powerc80 »

Offline hmaon

  • Sergeant
  • **
  • Posts: 40
  • C jockey
    • View Profile
Re: Openxcom Shader
« Reply #1 on: March 24, 2013, 09:28:49 pm »
That looks good, thanks! I'll try to get it included and set as default.

Personally, I like the CRT-Interlaced shader for play. Maybe I just played on some really terrible monitors back in the day.  ;D
« Last Edit: March 24, 2013, 09:34:18 pm by hmaon »

Offline powerc80

  • Sergeant
  • **
  • Posts: 43
    • View Profile
Re: Openxcom Shader
« Reply #2 on: March 25, 2013, 12:49:38 am »
That looks good, thanks! I'll try to get it included and set as default.

Thanks. I put a bit of work into it and commented it. That way, changes can be easily made.

Personally, I like the CRT-Interlaced shader for play. Maybe I just played on some really terrible monitors back in the day.  ;D

Ah, those were the days... :)

Offline SuperVGA

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: Openxcom Shader
« Reply #3 on: April 17, 2013, 05:20:26 pm »
That looks good, thanks! I'll try to get it included and set as default.
If you're going to add this to the build, make sure it's diasabled by default.
The shader source looks good to me, but it really needs a lot of testing to run on "most" hardware. There are tonnes of compatibility issues experienced with shaders developed on one card, tested out on another. AMD Cards often need extra attention and are less forgiving.
Also, think of the machines without shader support at all. :-(

On the actual shader; I think it looks great. Like HQ2X or such.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2159
    • View Profile
Re: Openxcom Shader
« Reply #4 on: April 17, 2013, 08:35:23 pm »
If you're going to add this to the build, make sure it's diasabled by default.
The shader source looks good to me, but it really needs a lot of testing to run on "most" hardware. There are tonnes of compatibility issues experienced with shaders developed on one card, tested out on another. AMD Cards often need extra attention and are less forgiving.
Also, think of the machines without shader support at all. :-(

On the actual shader; I think it looks great. Like HQ2X or such.
It's the default if the user enables OpenGL, not the default from the start.

Offline SuperVGA

  • Sergeant
  • **
  • Posts: 10
    • View Profile
Re: Openxcom Shader
« Reply #5 on: April 22, 2013, 01:16:44 pm »
It's the default if the user enables OpenGL, not the default from the start.
Thank you, SupSuper. I did nay know. It's cool that OpenXCom is more compatible per default. :)