Haden2 / Spectrum

A horror game under development
0 stars 0 forks source link

Sonar #64

Closed Haden2 closed 9 years ago

Haden2 commented 9 years ago

If you want to spot enemies in this mode, you can cheat here, and for the effect's duration, make your enemies brighter through manipulating their material. That way they can be brighter parts of the image, then you apply the postprocess/blur/awesome tone stuff to make it blue, increase contrast, add a ***load of bloom to it, film grain to simulate perception errors, or even depth of field.

http://www.seethroughskin.com/unity3d/echo/index.html http://www.seethroughskin.com/blog/echo-shader-multiples/ https://www.youtube.com/watch?v=-vrTsaLMHd0

Every object has a plain white material (including the noisy balls) When they hit something, an Additive Projector is spawned in a colour set for that ball (I could just randomise the colour if I wanted) with it's brightness dependent on the impact force. These projectors slowly fade away. In addition to that the balls each have their own projector, and glow as they roll depending on speed, i didn't put a sound effect there but it makes sense that when they roll you can hear them, Because they are at the center of the projector (and the projector has a texture that is brightest in the center) they also glow while they roll. The waterfall also has a 3D sound and a projector where the water hits. There is no actual lighting, ambience is set to absolute black and there are no lights... this is why the "lighting" completely ignores face normals. It's possible to swap the main material with a transparent one, but it has to be 0 alpha in that case otherwise you can see everything through a glowing face.

Haden2 commented 9 years ago

Need to change the color, adjust varying max distances, create multiple echos, have sound effects create the effect as well

Haden2 commented 9 years ago

Got the multiple pings and everything. Still have an adjustment to make, but that can be a separate issue.