Project

General

Profile

« Previous | Next » 

Revision 334c13fa

Added by Leszek Koltunski over 7 years ago

Make the effect Center be always 3D.

View differences:

src/main/java/org/distorted/examples/fbo/FBORenderer.java
139 139
      sinkDyn.add(new Static1D(1.0f));
140 140
      sinkDyn.add(new Static1D(0.5f));
141 141

  
142
      text.sink(sinkDyn, new Static2D(textWidth/2,textHeight/2));
142
      text.sink(sinkDyn, new Static3D(textWidth/2,textHeight/2, 0));
143 143

  
144 144
      Dynamic1D chromaDyn = new Dynamic1D(10000,0.0f);
145 145
      chromaDyn.add(new Static1D(0.0f));

Also available in: Unified diff