Skip to main content
Filter by
Sorted by
Tagged with
3 votes
0 answers
66 views

In the below code snippet, I draw a texture on a canvas on the left, and then call canvas.toBlob() and display the result in an <img> on the right. The resulting image has a cyan glitchy spot: ...
Imperishable Night's user avatar
Advice
0 votes
0 replies
60 views

Hi guys i am trying to make a website with 3d model in it and you can apply patterns designs texts stickers on the model i am doing it with canvas atlas which is every assets renders inside the oen ...
Bn'R's user avatar
  • 37
0 votes
0 answers
116 views

I'm developing a hero section for my React portfolio that includes a 3D model rendered with Three.js via @react-three/fiber. However, when the component loads, I see this error in the browser console: ...
Dhvani Maktuporia's user avatar
1 vote
1 answer
99 views

I am currently developing a WebGL app with Unity and using PlayerPrefs to try and make it so that a unique user id is generated for a player and used to connect to a remote lobby system. The problem I'...
samson's user avatar
  • 45
2 votes
0 answers
98 views

I'm working on an antenna 3D polar plot program which need to render real-time plot. Things I'm using: Python 3.11.9 PyQt6 6.9.1 PyQt6-WebEngine-Qt6 6.9.2 plotly 6.3.1 Issue: The code can generate ...
JusMave's user avatar
  • 21
1 vote
0 answers
84 views

I'm trying to implement a Depth of Field (DOF) effect in a Three.js scene that includes a point cloud rendered using THREE.Points. I've based my implementation on these official examples: https://...
soup3ee's user avatar
  • 11
0 votes
0 answers
30 views

Not able to see both rect and trap panel at a same time?Individually both are render with their proper position worldX but both at a same time with loop not. i have this in editor.tsx => const ...
mushtaq's user avatar
3 votes
1 answer
143 views

i try to open bing maps using python selenium with this code: import os, sys from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.chrome.service ...
Rapid1898's user avatar
  • 1,565
0 votes
0 answers
60 views

I recently started using WebGL, learning 3D on the web. My current issue is as follows: I have two pages, a home page and an about page. I have an Earth Model on the home page, rendering using the ...
Athul Kesav's user avatar
0 votes
0 answers
58 views

I'm using MediaPipe to apply face blendshape scores to a 3D avatar's morph targets in Three.js. The avatar is rendered into a custom canvas element, which is explicitly passed into WebGLRenderer like ...
Nam Luu Van's user avatar
1 vote
1 answer
109 views

I'm rendering a 3D-polygon on top of a given background (a pre-rendered image). The polygon is arbitrary: I just have its vertices (as a triangle strip or indexed triangles) passed via buffer. It ...
Zeus's user avatar
  • 1,127
-1 votes
1 answer
54 views

I have wanted to do an "Apple Liquid Glass" or refractive glass type effect on my website since before "Liquid Glass" was even a thing. I've designed my site to lean into 3D ...
TriVoxel's user avatar
  • 129
7 votes
2 answers
344 views

I'm rendering multiple WebGL "scenes" with one context using a single canvas element that is fullscreen and with a fixed position The page contains several div elements and I use their ...
imad's user avatar
  • 378
0 votes
0 answers
46 views

There seems to be no errors which popup, even with GL.getError(): const Canvas = document.getElementById("game_ui"); Canvas.width = window.innerWidth; Canvas.height = window.innerHeight; ...
Youaregreat's user avatar
1 vote
0 answers
80 views

I'm trying to read a depth value from a FBO through gl.readPixels. const canvas = document.getElementById("glcanvas"); const gl = canvas.getContext("webgl2"); const width = 64; ...
resle's user avatar
  • 2,416
0 votes
1 answer
124 views

I’m on PixiJS v8.1 (WebGL2) + TypeScript, trying to pass five RGB colors as a flat float[] into my fragment shader—but I keep getting: Error: Uniform type undefined is not supported. Supported uniform ...
Favour chuks's user avatar
0 votes
0 answers
60 views

I'm new in three.js and i don't know how but when i'm using shadows with my model it gives me some anomaly to different details.enter image description here Like on this image . I have the directional ...
Евгений Креничный's user avatar
1 vote
1 answer
60 views

I'm building a Three.js viewer for a static building model using postprocessing and n8ao. Since the model doesn't animate, I want to render only once when the user stops moving the camera — not every ...
Themodmin's user avatar
  • 473
2 votes
1 answer
84 views

how do I fill the full canvas with the full webgl shader layer? The canvas is filling the full window width and height, but the webgl shader layer is stuck to the top right quadrant of the screen at ...
Emily Chu's user avatar
  • 209
0 votes
0 answers
30 views

i’m trying to make interactive screen of TV by using webGlRenderTarget as a screen texture, i created the second scene and camera, but nothing works properly. Despite it actually rendering on the ...
qwothex's user avatar
0 votes
0 answers
144 views

I'm trying to deploy a container to Google CloudRun which lets me use WebGL which is GPU hardware-accelerated. I have the following front-end code (using node) to initialize WebGL and query its vendor ...
Lenny's user avatar
  • 143
3 votes
1 answer
91 views

I am reading about WebGL clip space, I think it basically should mean the same thing as coordinate system. The same site specifies ambiguous, information. In WebGL basics is specified left hand system,...
armagedescu's user avatar
  • 2,417
1 vote
1 answer
176 views

I'm using OpenLayers for a React project and everything is going very well. I'd like to extend the WebGLTileLayer class to eventually be able to apply GLSL to web tiles (for raster smoothing, ocean ...
Chris Jarzynka's user avatar
0 votes
0 answers
59 views

I’m using the Neo4j Visualization Library to display Arabic text, but the letters are rendering left‑to‑right (instead of right‑to‑left) and appear disconnected. See image below. Has anyone ...
pooya72's user avatar
  • 1,083
0 votes
0 answers
37 views

Given a mouse click, I am trying to use the FABRIK inverse kinematics algorithm to figure out the best joint orientation for a robot arm such that the end effector is as close as possible to the ...
Tanatswa 's user avatar
2 votes
1 answer
79 views

Context I'm currently building a library to precisely record (ideally any) javascript-based animation, even on slow computers or at very high framerate (e.g. 120fps to do motion blur later…). What I ...
tobiasBora's user avatar
  • 2,594
0 votes
1 answer
70 views

I am trying to display a model I downloaded on Sketchfab which is not showing up as expected when I render it. Above is the expected rendering Above is the rendering I get in three.js. How do I ...
user9002871's user avatar
-1 votes
1 answer
80 views

I have a Docker installation of Asymptote, based on Alpine Linux, the output of which I intend to transclude in web pages. The installed packages are g++ gettext-dev texlive-dev freetype-dev woff2-dev ...
Alexander Mashin's user avatar
0 votes
0 answers
56 views

Main issue : I'm trying to create a brush effect using WebGL. The issue arises when strokes intersect—currently, the blending doesn't look natural. Here’s what I get: Here’s what I’d like to achieve (...
patrice pellier's user avatar
0 votes
0 answers
45 views

Seems is not possible to have a 'non-floating' mpdel within a , so I am trying to come up with a workaround as I have seen here: hack for skyground from three.js, since I couldnt figure out how to use ...
JGarnie's user avatar
  • 624
0 votes
1 answer
119 views

I am making a 3d Three Js game, but I have run into a problem with my camera controls. When I look the starting direction that you look, the camera controls are all right. But if I look backward, the ...
Mason Fisher's user avatar
0 votes
0 answers
35 views

I'm having an issue where my method multiColourLerp Cannot be found when I import it from my utils file. I know that shaders usually don't reuse code across files but for the sake of maintainability I ...
Ben's user avatar
  • 1
1 vote
1 answer
41 views

So, I tried creating my own WebGL Matrixes. Rotate and Scale worked properly, except for Translate. For some reason, it has wrapped (large on the bottom and small on the top). You can test this by ...
JavascriptGod3737's user avatar
1 vote
1 answer
274 views

I am struggling with incorrect color rendering in the web version of my game. It looks fine on Windows, like this: But on the web, it looks like this: I'm using Unity 6, and by default, it uses the ...
Scorpishy's user avatar
1 vote
2 answers
127 views

I'm working on a Three.js project with a Tamagotchi-style animated character using GLTF animations and an animation mixer. The project includes a robot, a hatching box, and interactive controls. ...
cconsta1's user avatar
  • 871
2 votes
1 answer
128 views

I see this GitHub page. Sadly, Khronos Group has provided no documentation on how to actually use it, as far as I can tell. The Three.js Editor has a slider for Dispersion listed for type ...
Mentalist's user avatar
  • 1,743
0 votes
0 answers
31 views

Parallel projection in WebGL, const orthoMatrix = mat4.create(); mat4.ortho(orthoMatrix, -1, 1, -1, 1, near, far);
 
 Some of the parts that are done as
 mat4.ortho(orthoMatrix, -0.5, 1, -0.5 ...
persec's user avatar
  • 21
0 votes
0 answers
110 views

I'm trying to invert raster tiles in maplibre (like in CSS filter: invert). I have the following code for a minimum example that doesn't show any errors but doesn't invert the tiles. <!DOCTYPE html&...
user2033412's user avatar
  • 2,147
0 votes
0 answers
50 views

I am making simple babylon.js project that can be set base texture, pattern overlay texture, pattern tint, lightmap of sphere. But my project doesn't work well. I can see only black sphere (not ...
Franck Mallete's user avatar
0 votes
1 answer
229 views

Good afternoon, dear colleagues. I'm trying to adapt a Unity WEBGL program for a some social network on the WEB. The social network has an API and integrated simply with Unity via JavaScript. It is ...
Марк's user avatar
0 votes
0 answers
34 views

I have Samsung A41 (Android 12, Mediatek MT6768) and I noticed the strange thing. When the time (passed as uniform to fragment shader) exceeds 100 seconds the slideshow effect in animation (based on ...
alexey getLastName's user avatar
0 votes
1 answer
49 views

I'm building a custom racing silks customizer using THREE.js. My app allows users to: By the way it is something like this website here: https://hylandsportswear.com/kitbuilder/#/customise/80325870?...
Mahi Patel's user avatar
0 votes
1 answer
37 views

I’ve run into inconsistent behaviour in depth testing and I don’t know if this behaviour is specified anywhere. My question is: when using EQUAL as the depth-testing function, what is the expected ...
Andrew's user avatar
  • 14.5k
0 votes
0 answers
65 views

I am creating an Atmosphere shader in three.js. The Shader is passed to a ShaderPass, and the ShaderPass to the effectComposer. I am currently having a problem with utilizing the DepthTexture. The ...
awalter7's user avatar
1 vote
0 answers
102 views

I'm trying to follow the following set of instructions on how to profile a webgpu/webgl app on a Mac using Xcode: https://developer.playcanvas.com/user-manual/optimization/gpu-profiling/ I get a ...
Felipe Rocha's user avatar
0 votes
1 answer
389 views

I have created a mask layer using MapLibre GL JS's CustomLayerInterface to mask a raster layer behind it. The mask layer works correctly in hiding the raster behind, however it is causing issues with ...
bameyrick's user avatar
  • 177
1 vote
0 answers
78 views

I've just started learning threejs, thought of working on a pre-made model. I wanted to work with a Flipper Zero Model. Here is the link of the model. Flipper's Screen is called "Object_8" ...
rahulpandharkar's user avatar
-1 votes
1 answer
66 views

This code works generally. I use 4x4 shema for sprite animation (texture/image). Only when YY is 3 (last row) i got strange color margin. I found at How do I use texSubImage2D to show sprites in webgl?...
Nikola Lukic's user avatar
  • 4,274
0 votes
0 answers
65 views

The goal of this code is to distinguish two overlapping points with identical coordinates using WebGL in OpenLayers. Two approaches have been attempted: Approach 1: Implements a custom WebGL points ...
user29069117's user avatar
2 votes
1 answer
74 views

I'm unable to create a framebuffer from a texture with internal format RGBA32F. The following code logs test.js:38 Framebuffer is incomplete. Status: 36054 in the console function main() { const ...
Rufus's user avatar
  • 42

1
2 3 4 5
136