Skip to content Skip to sidebar Skip to footer
Showing posts with the label Webgl

What Are Vertexindices In Webgl?

I'm learning WebGL from this site: http://learningwebgl.com/blog/?p=370 I don't understand,… Read more What Are Vertexindices In Webgl?

Recommended Way To Make A 2d Hud In Webgl

For a game in webgl where fps performance is important, what is the most efficient way to make a 2D… Read more Recommended Way To Make A 2d Hud In Webgl

How To Use Multiple Textures In Webgl?

I wanted to use 6 different textures on a cube, one per side, but can't find the mistake. Here&… Read more How To Use Multiple Textures In Webgl?

Custom Shader Material Taking Forever To Initialize?

I've been working on a raymarched project in three.js for a little over a year now and as the c… Read more Custom Shader Material Taking Forever To Initialize?

User Uploaded Textures In Three.js

Here you will find a jsFiddle adaptation of the problem. I would like to create a 3d web applicatio… Read more User Uploaded Textures In Three.js

Webgl Performance Issues With Retina Macbook Pro

I have a WebGL application that I am developing and I have run up against some pretty serious perfo… Read more Webgl Performance Issues With Retina Macbook Pro

How Can I Add A Uniform Width Outline To Webgl Shader Drawn Circles/ellipses (drawn Using Edge/distance Antialiasing)

I am drawing circles/ellipses in WebGL using a single Quad and a fragment shader, in order to draw … Read more How Can I Add A Uniform Width Outline To Webgl Shader Drawn Circles/ellipses (drawn Using Edge/distance Antialiasing)

Three.js Static Scene, Detect When Webgl Render Is Complete

I am creating a static scene with a lot of objects and I want to save as image after it is rendered… Read more Three.js Static Scene, Detect When Webgl Render Is Complete

Rendering Webgl Image In Headless Chrome Without A Gpu

I'm trying to export an image rendered with WebGL on a linux server without a GPU. To do this I… Read more Rendering Webgl Image In Headless Chrome Without A Gpu

My Domain Return Error For Texture Load Image Url

image does not load by my domain Other domain no problem. it is working it just doesn't load my… Read more My Domain Return Error For Texture Load Image Url

Return Function In Javascript And How It Works?

I'm trying to optimize and existing piece of WebGl JavaScript code, and the bottleneck of the c… Read more Return Function In Javascript And How It Works?

Webgl / Three.js Different Materials On One Complex Object (grid)

In order to increase performance i render grid to one THREE.Geometry() object in such loop: build … Read more Webgl / Three.js Different Materials On One Complex Object (grid)

Performance Drops When Trying To Reset Whole Scene With Three.js

In my current project Im using Threejs for buildin a level with meshes. All the graphical stuff wit… Read more Performance Drops When Trying To Reset Whole Scene With Three.js

Having Trouble Changing Color By Pressing Left Or Right Button

I'm having trouble changing change the color when you from left to right button. Holding down t… Read more Having Trouble Changing Color By Pressing Left Or Right Button

Webgl Colors And Alpha

I have a problem with colors and alpha in webgl. A part of my JavaScript-Program: gl.clearColor(0.0… Read more Webgl Colors And Alpha

I Get Invalid Type Error When Trying To Call Readpixels

context.readPixels(0, 0, context.drawingBufferWidth, context.drawingBufferHeight, context.RGBA, con… Read more I Get Invalid Type Error When Trying To Call Readpixels

Do I Have To Create Separate Buffers Per Webgl Program?

Do I have to create separate webglbuffers if I have two programs or can I use the same ones in each… Read more Do I Have To Create Separate Buffers Per Webgl Program?

Three.js Wireframe Only Shape With Hidden Edges As Dashed Lines

I'm trying to create a specific type of 3D object in three.js. I want for example a cube in wir… Read more Three.js Wireframe Only Shape With Hidden Edges As Dashed Lines

Shadow Map Appearing On Wrong Place

I'm trying to make use of the built-in shadow map plugin in three.js. After initial difficultie… Read more Shadow Map Appearing On Wrong Place

Blend Two Canvases Onto One With Webgl

What I'm trying to do is blend two canvases onto a single canvas for a drawing app I am creatin… Read more Blend Two Canvases Onto One With Webgl