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

Making A Mesh Plane In Webgl With Triangles

I'm trying to create a triangulated plane in WebGL and I have the following code. However, when… Read more Making A Mesh Plane In Webgl With Triangles

Flame Is Not Showing In Three.js World

I am making a flame using the THREE.js and spark.js, but when I render the world I can't see th… Read more Flame Is Not Showing In Three.js World

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

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

Detect Software Vs Hardware Webgl Render Mode

I've got an error I'm trying to catch with MapboxGL that doesn't handle when a version … Read more Detect Software Vs Hardware Webgl Render Mode

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

Texturing A Cylinder In Three.js

I'm looking after this for a long time now. I just can't find any solution, anywhere. I… Read more Texturing A Cylinder In Three.js

How To Load A Text File In Javascript?

I'm creating a simple WebGL project and need a way to load in models. I decided to use OBJ form… Read more How To Load A Text File In Javascript?

Webgl Translation After Rotation Of The Camera (as An Fps)

I've already done some projects with c++ and OpenGL, now I'm creating a simple project with… Read more Webgl Translation After Rotation Of The Camera (as An Fps)

Html5 Video Draw Into Canvas2d Issue On Android Chrome

I am developing VR html5 page in javascript (no jQuery or other frameworks) that uses WebGL to rend… Read more Html5 Video Draw Into Canvas2d Issue On Android Chrome

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

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?

No Texture Bound To The Unit 0

I am currently facing an error that I cannot seem to figure out. In chrome I am receiving: GL ERRO… Read more No Texture Bound To The Unit 0

Three.js/webgl And 2d Canvas -- Passing Getimagedata() Array Into Three.datatexture()

I'm new to WebGL (and 3D graphics in general) and am using three.js. What I want to do is creat… Read more Three.js/webgl And 2d Canvas -- Passing Getimagedata() Array Into Three.datatexture()

Issue When Rendering A Torus In Webgl

I'm writing a program that is supposed to draw 3D parametric shapes in webgl. The code I have c… Read more Issue When Rendering A Torus In 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?

Deallocate Object Three Js

I'm doing a project using webGl and Three.js. My problem is only one: I need to deallocate memo… Read more Deallocate Object Three Js

Webgl Ios Render To Floating Point Texture

I'm trying to get rendering to a floating point texture working in WebGL on iOS Safari (not in … Read more Webgl Ios Render To Floating Point Texture

Webgl Gl_fragcolor Alpha Behave Differently In Chrome With Firefox

Code below draws three triangles alpha value 0.5 with {premultipliedAlpha: false}. Result in Chrom… Read more Webgl Gl_fragcolor Alpha Behave Differently In Chrome With Firefox

Using A Different Vertex And Fragment Shader For Each Object In Webgl

I have a scene with multiple objects in webgl. For each object I want to use a different vertex and… Read more Using A Different Vertex And Fragment Shader For Each Object In Webgl