Project

General

Profile

« Previous | Next » 

Revision 5e96393c

Added by Leszek Koltunski over 5 years ago

Make the Sink effect fully 3D.

View differences:

src/main/java/org/distorted/library/effect/VertexEffectWave.java
27 27
///////////////////////////////////////////////////////////////////////////////////////////////////
28 28
/**
29 29
 * Directional, sinusoidal wave effect.
30
 *
31
 * Not a fully 3D effect. To achieve a fully 3D one we'd need another parameter making the whole thing
32
 * a 6D effect but there's no room in the Vertex Uniforms which assign only 5 floats for interpolated
33
 * effect values. Rethink this. ATM fully enough for 2.5D meshes like the MeshCubes.
30 34
 */
31 35
public class VertexEffectWave extends VertexEffect
32 36
  {

Also available in: Unified diff