All Projects → PandaArcade → Squashandstretch

PandaArcade / Squashandstretch

Licence: unlicense
A Unity 2018.10b12 project where I am experimenting with a squash and stretch shader.

Labels

Projects that are alternatives of or similar to Squashandstretch

Normal Mapping For A Triplanar Shader
Example shaders showing different methods of implementing normal mapping for triplanar shaders.
Stars: ✭ 101 (-36.87%)
Mutual labels:  shaderlab
Rcam
Real time volumetric video capture for live visuals
Stars: ✭ 128 (-20%)
Mutual labels:  shaderlab
Unitychantoonshaderver2 project
UnityChanToonShaderVer2 Project / v.2.0.8 Release
Stars: ✭ 2,334 (+1358.75%)
Mutual labels:  shaderlab
Optically Realistic Water
A Unity port of Martins Upitis' fantastic ocean water shader, which was originally coded in GLSL for Blender.
Stars: ✭ 111 (-30.62%)
Mutual labels:  shaderlab
Lwrpshaders
A collection of high customizable unlit shaders for Lightweight Render Pipeline
Stars: ✭ 125 (-21.87%)
Mutual labels:  shaderlab
Pencilsketcheffect
Real Time Hatching In Unity
Stars: ✭ 134 (-16.25%)
Mutual labels:  shaderlab
Smo Shaders
A collection of shaders to replicate those used in Super Mario Odyssey's Snapshot Mode.
Stars: ✭ 97 (-39.37%)
Mutual labels:  shaderlab
Spriteoutlinefx
Outline image effect for 2D sprites.
Stars: ✭ 154 (-3.75%)
Mutual labels:  shaderlab
2d Water Shader
2D Water Shader made in HLSL in Unity based on water effect from the game Kingdom
Stars: ✭ 126 (-21.25%)
Mutual labels:  shaderlab
Neitri Unity Shaders
Collection of shaders for Unity3D and VRChat
Stars: ✭ 137 (-14.37%)
Mutual labels:  shaderlab
Raymarchinginhdrp
Stars: ✭ 112 (-30%)
Mutual labels:  shaderlab
Unity fps
Project and asset files for FPS Unity game.
Stars: ✭ 117 (-26.87%)
Mutual labels:  shaderlab
Chinesepaintingdemo
Demo of Chinese Painting Shader
Stars: ✭ 139 (-13.12%)
Mutual labels:  shaderlab
Arcadevehiclephysics
A framework for creating an arcade inspired physics system for vehicles in Unity
Stars: ✭ 103 (-35.62%)
Mutual labels:  shaderlab
Learnunityshader
学习Unity Shader过程中的一些记录,特效,动画Demo。
Stars: ✭ 141 (-11.87%)
Mutual labels:  shaderlab
Unitytoonshader
👾 Toon shader for Unity.
Stars: ✭ 99 (-38.12%)
Mutual labels:  shaderlab
Unityplayground
Experimental use
Stars: ✭ 127 (-20.62%)
Mutual labels:  shaderlab
Lowpolyshaders
Unity shaders optimized for Low Poly models.
Stars: ✭ 157 (-1.87%)
Mutual labels:  shaderlab
Unityscreenspaceboolean
Screen Space Boolean Implementation for Unity.
Stars: ✭ 150 (-6.25%)
Mutual labels:  shaderlab
Unityurp Billboardlensflareshader
(1)Add a new Quad GameObject (2)Use this shader (3)Done! Now you have billboard lens flare shader for URP!
Stars: ✭ 140 (-12.5%)
Mutual labels:  shaderlab

SquashAndStretch

We're making a game called Pico Tanks - Multiplayer Mayhem and we often create fun stuff that we want to share with the community. http://www.pandaarcade.com/picotanks

I was thinking of using something like this for a goo cannon in Pico Tanks but it turned out to be overkill for what we needed.

This repo is Unity 2018.10b12 project where I am experimenting with a squash and stretch shader. The shader is created with Amplify Shader Editor (ASE v1.5.2 dev 03) plugin but you don't need it to run the project, edit or use the shader. ASE will make understanding and editing the shader much easier. http://amplify.pt/unity/amplify-shader-editor

What is in the project? A shader that squashes and stretches a mesh based on the given radius and squash values and a script to set those values.

I have also included a version of the shader that uses partial derivation to generate the new normals for the deformed mesh. Thanks to ASE for the following example which I copied/referenced to recreate my normals. https://www.reddit.com/r/Unity3D/comments/75qurr/amplify_shader_editor_new_vertex_normal/

This YouTube video does a good job of explaining how you can use partial derivation to reconstruct normals in Shader Forge. https://www.youtube.com/watch?v=FBGtjw9KviU

The shader achieves its translucent feel with a MatCap texture that is included in the repo.

I hope someone appreciates the share :) Have fun!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].