Noise Hunters Devlog 11 - Shaders
Hello [Code_Name: MEVYE] [Location: CLASSIFIED], welcome back!
Today we will see what type of shader is used in Noise Hunters to generate sound waves!
As we have mentioned before, shaders are a great asset to create amazing effects! however, behind there's a steep learning curve (if you are doing them by code, not with the new shader graph of Unity) and this proved a big obstacle to the team.
We decided to look for shaders made from assets stores and modify them at the best of our abilities. First we found a free shader that generated simple sound waves when something collided. It served as a proof of concept but further in the line of development, we identified problems with the shader, that broke the game. In the end we decide to discard the shader and start to search for anew one.
After some search in the realm of shaders, we found a tutorial to create a "scanner" type of shader, similar to the used in the No Man's Sky . This created a nice effect, if modified, could serve as sound waves.
We made several modifications so the shader would make the effect of sound:
- Limit the range: when it reached the max range it would stop advancing.
- Fade out: when the limit is reached, the alpha of the shader will start to decrease until the colour would disappear.
- Colour intensity: the amount of colour that is seen in the area where the shader is making effect is increased, creating an effect of sphere on the ground. This way it would to see the bounds the sound would create.
- Textures: we included the option to use a texture in the colour. As this is a shader that affects the camera only and the objects in-game, the textures are flat in the screen and is only visualised where the shader is. If the texture is too clear, the wave would lose depth.
However, we encountered our fare share of problems when working with the shader. Mainly, the loss of depth, when a player is positioned close to a wall, that has no relief, the shader will make the wall seem as a floor. Many times in play-testing we saw the players bump against walls, thinking there was nothing in front of them.
Thanks for reading and don’t make any noise! 🤫
_______________________________________________________
Contact:
Twitter: https://twitter.com/Noise_Hunters
Instagram: https://www.instagram.com/noisehunters/?hl=es
Youtube: https://www.youtube.com/channel/UCL2X-i8jfzZOubewJfed6hQ
Mail: noisehuntersgame@gmail.com
Noise Hunters
Status | Released |
Author | Noise Hunters |
Tags | gamedev, indiedev, indiegame, madewithunity, noisehunters |
Languages | English |
More posts
- Noise Hunters LAUNCH!May 27, 2020
- Noise Hunters Devlog 29 - Discarded: ScouterMay 13, 2020
- Noise Hunters Devlog 28 - Magic RoomsMay 06, 2020
- Noise Hunters Devlog 27 - CommunicationMay 01, 2020
- Noise Hunters Devlog 26 - Choosing 3D modelsApr 27, 2020
- Noise Hunters Devlog 25 - UMotionApr 24, 2020
- Noise Hunters Devlog 24 - The Difference of Post-ProcessingApr 21, 2020
- Noise Hunters Devlog 23 - Discarded: CameraApr 19, 2020
- Noise Hunters Devlog 22 - PredatorApr 17, 2020
Leave a comment
Log in with itch.io to leave a comment.