Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 4
1 answer
332 views

I'm trying to implement a three.js texture loader for the JPEG 360 format. For this purpose, it's really a JPEG image embedded in a nested set of "boxes", very similar to the structures used ...
Score of 0
1 answer
109 views

In Unity, I have multiple Sprites which have been packed into a sprite atlas. These sprites also have their own individual Texture2Ds, like so: I want to get the individual Texture2D of the sprite ...
Score of 2
2 answers
61 views

Years ago I implemented a CPU raytracing software and things work properly. I then implemented a DirectX 12 viewer. I just found out there is some discrepancies between my 2 implementations when i t ...
Score of 0
1 answer
67 views

The background I'm finally working to convert my very old Mac kaleidoscope application, ScopeWorks, which was written in OpenGL and Objective-C, to a Multiplatform app in SwiftUI and Metal. I'm using ...
Score of -1
1 answer
49 views

I have been having trouble with loading a gltf model with textures into my project, I have downloaded this gltf model from sketch fab, and it came in a folder with png textures, however when I tried ...
Advice
0 votes
1 replies
105 views

I’m building a mobile app that renders UI content using a custom renderer: Android: OpenGL ES iOS: Metal I render textured quads to a surface continuously (targeting ~60 FPS, so a draw loop every ~...
Score of 1
0 answers
65 views

For a bit of context, I am working in a lab where we use a dissimilarity map to characterize textures between them, called LDM (Local Dissimilarity Maps)[1]. Recently, this was further enhanced by ...
Score of 2
0 answers
90 views

Please help me with the Earth model in Unity. I don't understand what's wrong. I downloaded the blue marble texture from the NASA website, attached it to a Material, and placed it on a sphere. I want ...
Score of 1
0 answers
242 views

I am coding a Minecraft 1.21.1 Java mod for Fabric, and I made two custom 3D textures in blockbench. One of them, labelled Pure_mace does load, and the other Great_nail, fails, I cannot find anything ...
Score of 2
1 answer
211 views

I have sample code that creates a 320x180 texture and displays it in a resizable window that starts off at 320x180 inner-size. But as I resize the window upwards, the texture is blurry. I thought that ...
Score of -1
1 answer
126 views

What i'm trying to do is write to a storage texture in one render pass, and then read from this texture in a second pass, but value i get in the second pass is always the same, regardless of what i ...
Score of 3
2 answers
201 views

I'm working on macOS app with Metal-based rendering. App is entirely in C++ and uses metal-cpp + GLFW. Trying to implement pixel-perfect quality of rendered content I experienced a problem with ...
Score of 1
2 answers
151 views

In my app, I need to display images (textures). Some are tiled, and some are stretched. At the time, I have this code working: Image(frame.image) .resizable(resizingMode: (frame.repeatTexture == true) ...
Score of 0
0 answers
147 views

I have several instances of PIXI.Sprite sharing the same video element as a source for their textures. My problem it that I need them not to be synced, so I should be able to control each animation ...
Score of 0
0 answers
149 views

ok so I'm trying to bake an animation into a texture so I can use that in a material to run later. I currently trying to use the following code I found on GitHub to do the job for me: the_code I don't ...
Score of 0
0 answers
29 views

I have a SwiftUI view that should display two views in an HStack with equal width. My ContentView is: struct ContentView: View { var body: some View { HStack { Group { ...
Score of 1
1 answer
94 views

The following program correctly renders a textured quad in processing using the underlying OpenGL. The texture is here PShape s; void setup() { size(800, 800, P3D); PImage ringtexture = loadImage(&...
Score of 1
1 answer
423 views

I have a problem in my c++ SDL3 android project: Every time I try to create a texture it returns NULL, and if I call SDL_GetError() it says absolutely nothing. And I tried everything: // ATTEMPT 1 ...
Score of -1
1 answer
59 views

I am writing UI tests for a view that was implemented in textures. We are using swift-snapshot-testing module by pointfreeco. This is my first time writing tests as well. The issue is that when I ...
Score of 0
2 answers
158 views

private void GenerateBrushTexture() { int textureSize = Mathf.CeilToInt(radius * 2); brushTexture = new Texture2D(textureSize, textureSize); for (int x = 0; x < textureSize; x++) { ...
Score of 1
1 answer
123 views

I have a similar need for this question. The only difference is, I need to do this on a cuArray (because I want to use cudaAddressModeWrap), instead of a normal device storage. So, I tried this: $ cat ...
Score of 1
0 answers
172 views

Using Godot 4.4.dev1, I have created two scenes that I use for my HUD. One for abilities and one for keyboard keys. Both have exported variables that contain information about textures that I load in ...
Score of 0
1 answer
191 views

I have prepared-well BC7 tetxure, how to convert it to astc format (e.g., ASTC_12x12) directly? Not decompress BC7 -> compress ASTC, It's too slow. Is there any algorithm or tool that can convert ...
Score of 0
1 answer
121 views

I'm trying to change the direction of the front face of the uv texture on a sphere, but in the process I'm somehow "tilting" the textures, and I don't know why. I'd like them to not be ...
Score of 1
1 answer
161 views

When I export from Blender to Unity via FBX, my tiled texture mapping is lost. Not only it is lost, but also mapping is planar from the top of the model in Unity and I cannot figure out how to fix it. ...
Score of -1
1 answer
712 views

I'm working on an Android app where I have a SurfaceTexture that's bound to an ExoPlayer for video playback. The texture uses the GL_TEXTURE_EXTERNAL_OES target. I need to create a Vulkan VkImage from ...
Score of 0
0 answers
88 views

I'm trying to as a challenge to myself read a pcx file byte by byte and convert it to a texture in Unity. I am reading the data just fine, however actually applying it to be a proper texture never ...
Score of 1
0 answers
55 views

RENDER There is a set of vertices: new Vector(-0.5,-0.5,-0.5), new Vector(-0.5, 0.5,-0.5), new Vector( 0.5, 0.5,-0.5), new Vector( 0.5,-0.5,-0.5), new Vector(-0....
Score of 1
0 answers
71 views

I'm working on a raycasting engine where I'm encountering an issue with inconsistent texture rendering. When rays hit consecutive walls of the same texture (e.g., 1 1 1 in the map), some rays ...
Score of 1
0 answers
76 views

I am working on a raycasting engine in C, similar to the one used in classic games like Wolfenstein 3D. I have implemented basic texture mapping, but the rendered walls appear very pixelated. I would ...
Score of 0
1 answer
56 views

Hello everyone who's reading. I'm trying to create a website where I can mouse scroll through "cards" that are all in a single line, seen with a iso view from the side. I've set up the scene ...
Score of 3
0 answers
378 views

I have a Texture3D that I've defined: tex = new Texture3D(8, 8, 8, TextureFormat.RFloat, false); for (int x = 0; x < 8; x++) { for (int y = 0; y < 8; y++) { for (int z = 0; z < 8;...
Score of -1
1 answer
59 views

I am trying to render a sphere with a texture wrapped on it, i am using a png texture with 1920px1080p resolution but the resulted texture is always very blurry, here is my sample code : var ...
Score of 0
1 answer
156 views

If I use webgl2 to render something (e.g. a triangle) to an RGBA UNSIGNED_BYTE texture, then render that texture to the canvas, everything works fine. But I'm having trouble getting my example to work ...
Score of 0
1 answer
78 views

I want to use a GL_TEXTURE_2D_ARRAY to hold a texture in OpenGL ES 3.0. I'm reading the OpenGL wiki for Array Textures and it has an example for data that is ordered by all pixels of the first image, ...
Score of 0
1 answer
168 views

I'm programming a flood_fill() func for triangles. To do this i have to recover the pixel color at a certain position. I use a SDL_Texture in SDL_ACCESSTARGET to blit on and used for the final ...
Score of 2
2 answers
3193 views

Beginner here. I've noticed two approaches to drawing new textures to the screen in raylib, firstly using DrawTexture directly in the drawing stage: BeginDrawing(); DrawTexture(texture, posX, posY, ...
Score of 0
0 answers
125 views

I have a GLSL fragment shader that should render pixels into a texture, and blend the value at each pixel with the one that has been in the texture before. Instead of using GL blending operations, it ...
Score of 0
1 answer
257 views

I am making my own Tetris in Godot (it does not matter), I am new and I still don't understand how to use textures. I wanted to have personalizabled color brick and because I did not know how to do ...
Score of 1
1 answer
265 views

I have tried long and hard to solve this. So... I am contacting all of you guys! The issue is that each frame, I try and bind my texture: Texture.hpp class Texture : public Component { public: ...
Score of 0
0 answers
483 views

I want to apply some shader effects to a couple of draw calls using raylib, but I haven't found ways of implementing shaders without a texture. I was wondering if I could refactor the function below ...
Score of 0
1 answer
185 views

I am trying to add a texture to a polygon2d, when I draw the polygon and it is not pixel perfect, it adds these unwated pixels to the image:
Score of 0
0 answers
261 views

As summarized in the title there is a problem with the unreal engine when trying to turn off the mobile HDR rendering for android devices. there are a few things messing with the me right now first is ...
Score of 1
1 answer
394 views

I used MineWay to export a part of my minecraft world into blender. From there I used MCPrep for textures, and exported the blend file to godot. The textures look fine as long as i dont look at the ...
Score of 1
2 answers
159 views

I am trying to apply a texture from a jpg file to a mesh (.obj file). Both files originate from a 3D scanner and can be open in 3D tools, showing correctly. How can I get a Qt3D mesh object to ...
Score of 1
1 answer
412 views

I'm creating a quiz game in Godot 4.2 and wanted to use a texture with an itemlist, similar to texture buttons. All I've seen so far is how to use a picture as an Icon, not as a texture. I want each ...
user avatar
Score of 0
0 answers
154 views

I am trying to use opengl to visualize a image with 16 bits depth because with GTK i was limited to 8 bits. GdkPixbuf has limitations and i need represent the image with all values without changes. I ...
Score of 0
0 answers
111 views

While using glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA8, width, height, depth); I can't set depth more than 2048 (otherwise OpenGL drops 1281 error which is GL_INVALID_VALUE), but I didn't found ...
Score of 0
1 answer
287 views

I have the following code block in which I am trying to create a new Texture2D: let texture: Texture2D = *handle .load_texture(&thread, &path) .expect(&format!("Failed ...
Score of 0
0 answers
218 views

I'm looking for a method where, given an two images (A and B, with A being an RGB image and B being a greyscale image storing the warping information) I can warp A relative to B. To give you some ...

1
2 3 4 5
117