python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Change the texture of an existing model in google model-viewer using an image file
I am a student with an upcoming project using Google's model-viewer to render a poster using AR on a user's wall. I have a simple, textureless, one-sided plane that I made using the three.js online ed...
Gerard Compion
Votes: 0
Answers: 1
texture(sampler2DArrray, vec3(UV, layer)) only gives first texture for all layers
Code:
glGenTextures(1, &textureArray);
glBindTexture(GL_TEXTURE_2D_ARRAY, textureArray);
glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D_ARRAY...
Jaysmito Mukherjee
Votes: 0
Answers: 0
Using single image as cube map in OpenGL GLSL
I am working on a Augmented Reality application using ARCore. I am drawing an object in my scene (assume it is an sphere) using OpenGL and GLSL shaders. I want to do environment mapping on my object u...
Pankaj Bansal
Votes: 0
Answers: 0
how to map multiple png texture in ThreeJS
Im working with Three.js particles , and trying to map multiple png textures, (my png images are juste différent colors stars to create a sky full of stars)
my code looks like this :
const loader = ne...
Amine
Votes: 0
Answers: 1