Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hypothetical question (shaders/materials/etc)
MrBehemoth Offline
Senior Member

Posts: 408
Threads: 19
Joined: Feb 2014
Reputation: 40
#1
Hypothetical question (shaders/materials/etc)

Hypothetical question:

Can anyone think of a way to temporarily fake a lower screen resolution using shaders, refraction or some other jiggery-pokery?

For example (this is a totally made up scenario and not what I'm making) - say you were making an FC where your player character was a robot. Instead of losing sanity, your robot character loses processing power and the view becomes more pixellated (of course, without changing the actual screen resolution).

I imagine that clever shaders could maybe do something of the sort, but I'm not sure what is possible in HPL2 or how it would work. Another potential idea would be to mask the player's view with a refracting material, but the best I've been able to do with my experiments in that direction is a kind of mosaic glass effect, which is pretty, but not the same thing.

Any thoughts?

(This post was last modified: 12-14-2014, 04:08 PM by MrBehemoth.)
12-14-2014, 04:07 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Hypothetical question (shaders/materials/etc)

You could use a timer that checks your health/sanity every 4-5 seconds, if it's below 100, you put a tv static effect with an insanity event. And maybe fade out the screen for a sec.

12-14-2014, 05:01 PM
Find
MrBehemoth Offline
Senior Member

Posts: 408
Threads: 19
Joined: Feb 2014
Reputation: 40
#3
RE: Hypothetical question (shaders/materials/etc)

Sure, you're right: for the robot-player example I mentioned, that would be a sensible and doable alternative. Cool That's not actually what I want to use it for though. I don't want to say right now what it's really for, as it might never happen. Wink

What I was wondering about would be more complicated, or not even possible: specifically faking a lower resolution (i.e., pixellated) for a while, in game, whatever way it is applied in script.

(This post was last modified: 12-14-2014, 05:45 PM by MrBehemoth.)
12-14-2014, 05:41 PM
Find




Users browsing this thread: 1 Guest(s)