Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions TextParticles.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,6 @@
var color = params.color || this.color;
var opacity = params.opacity || 1;

var attributes = {

id: { type:"f" , value: null },
lookup: { type:"v2" , value: null },
textCoord: { type:"v4" , value: null },

}


var c = new THREE.Color( color );

Expand All @@ -426,8 +418,6 @@

console.log( uniforms );

var attr = attributes;

var vert = this.vertexShader;
var frag = this.fragmentShader;

Expand All @@ -438,8 +428,6 @@

var material = new THREE.ShaderMaterial({

attributes: attr,

uniforms: uniforms,

vertexShader: vert,
Expand Down
2 changes: 1 addition & 1 deletion fonts/AnonymousPro.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var AnonymousPro = function( path ){

var texture = new THREE.ImageUtils.loadTexture( path );
var texture = new THREE.TextureLoader().load( path );
texture.flipY = false;

return {
Expand Down
2 changes: 1 addition & 1 deletion fonts/LetterGothic.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

var LetterGothic = function( path ){

var texture = new THREE.ImageUtils.loadTexture( path );
var texture = new THREE.TextureLoader().load( path );
texture.flipY = false;

return {
Expand Down
2 changes: 1 addition & 1 deletion fonts/PTMono.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

var PTMono = function( path ){

var texture = new THREE.ImageUtils.loadTexture( path );
var texture = new THREE.TextureLoader().load( path );
texture.flipY = false;

return {
Expand Down
2 changes: 1 addition & 1 deletion fonts/UbuntuMono.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

var UbuntuMono = function( path ){

var texture = new THREE.ImageUtils.loadTexture( path );
var texture = new THREE.TextureLoader().load( path );
texture.flipY = false;

return {
Expand Down
Loading