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


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

Posts: 409
Joined: Feb 2014
Reputation: 40
Post: #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 all posts by this user Quote this message in a reply
Daemian Offline
Posting Freak

Posts: 1,130
Joined: Dec 2012
Reputation: 49
Post: #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 all posts by this user Quote this message in a reply
MrBehemoth Offline
Senior Member

Posts: 409
Joined: Feb 2014
Reputation: 40
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)