Project

General

Profile

« Previous | Next » 

Revision a7067deb

Added by Leszek Koltunski over 7 years ago

small improvements in DISTORT

View differences:

src/main/res/raw/main_fragment_shader.glsl
105 105
    }
106 106
#endif
107 107

  
108
  gl_FragColor = vec4(pixel.rgb * 0.5 * (v_Normal.z+1.0), pixel.a);
108
  gl_FragColor = vec4(pixel.rgb * v_Normal.z, pixel.a);
109 109
  }

Also available in: Unified diff