Skip to content

Instantly share code, notes, and snippets.

@coderofsalvation
Last active January 11, 2022 15:46
Show Gist options
  • Save coderofsalvation/3a42bc8a6468a0ed1ff6ae40abe922b6 to your computer and use it in GitHub Desktop.
Save coderofsalvation/3a42bc8a6468a0ed1ff6ae40abe922b6 to your computer and use it in GitHub Desktop.
cheap 3d tricks

Useful cheap 3D animation tricks

water / fluids

  • create a rotating plane
  • create material with low roughness and high metallic
  • assign a heightmap to the normals
  • adjust the uv coordinates so that the heightmap is very zoomed in
  • done: by simply rotating the plane, create interesting ripple effects will be created

glass / windows

  • same as water/fluids
  • but set alpha of material to 33%

cheap fog

fog can create 'huge' space experiences: https://www.geeks3d.com/20100228/fog-in-glsl-webgl/#more-6958

dont use closed-space equirectangular spheremaps

Prevent clustered claustrophobia: there's not much 'immersive' in immersing yourself with a vrheadset, when finding yourself in another closed space. Instead, make sure to use panorama's which either make you 'float' high in the air, or at least have an open sky.

create normal maps out of seamless tileable textures

https://cpetry.github.io/NormalMap-Online/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment