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

Three.js Attaching Object To Bone

Is there any way to attach mesh to bone? For example I load animated .js character and i want to at… Read more Three.js Attaching Object To Bone

Render To 3d Texture Webgl2

I read here that it should be possible to render to a 3D texture in WebGL2 by using multiple render… Read more Render To 3d Texture Webgl2

Debug Glsl Code In Webgl

Is it possible to debug GLSL code or print the variable values from within the glsl code while usin… Read more Debug Glsl Code In Webgl

Threejs: Rotate Sphere(globe) To Another Point(city) On The Sphere Itself

I'm building a globe(sphere geometry) with set of predefined locations on geo-mapped and drawn … Read more Threejs: Rotate Sphere(globe) To Another Point(city) On The Sphere Itself

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

Render Html In Canvas/webgl

Is it possible to render HTML elements in Canvas or WebGL? (similar to how one can draw a video ele… Read more Render Html In Canvas/webgl

An Error When Try To Use Mipmaping In Three.js

I'm trying to use mipmaps generation in three.js textures. When creating a texture I assign an … Read more An Error When Try To Use Mipmaping In Three.js

Decode Images In Web Worker

In our WebGL application I'm trying to load and decode texture images in a web worker in order … Read more Decode Images In Web Worker

Unexpected Screen Clearing Webgl

Good day! I need a help with webgl! According to http://www.html5rocks.com/en/tutorials/webgl/webgl… Read more Unexpected Screen Clearing Webgl

Webgl Detected As Supported When It Is Actually Not

I am using WebGL from a WebView in Android. For detecting whether WebGL is supported or not, I am u… Read more Webgl Detected As Supported When It Is Actually Not

What Is A Proper Usage Of Fence Synchronization In Webgl2?

Looking for some patterns/code examples/best practices of appropriate usage of fences in webgl2 (gl… Read more What Is A Proper Usage Of Fence Synchronization In Webgl2?

One Three.js Example Of Video On Iphone 6s Did Not Work( Only Black Panel)

one three.js example of video on iPhone 6s did not work( only black panel) https://stemkoski.githu… Read more One Three.js Example Of Video On Iphone 6s Did Not Work( Only Black Panel)

Truly Rotate Center Of Equilateral Triangle In Fabric.js

Using Fabric.js, I'm having trouble truly rotating a triangle around its center point, or at le… Read more Truly Rotate Center Of Equilateral Triangle In Fabric.js

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

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

How To Get Texture In Webgl?without Canvas.todataurl()

I want to get texture from webgl just like i can use getImageData()when the canvas context is 2d. h… Read more How To Get Texture In Webgl?without Canvas.todataurl()

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

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

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

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?