I am having some trouble using an sfVertexArray to draw textures to the screen, using vertex and fragment shaders. If I load the texture directly fro ...
I am having some trouble using an sfVertexArray to draw textures to the screen, using vertex and fragment shaders. If I load the texture directly fro ...
Can I make a progress bar like where the value is just a little image that travels to the end of progress bar in Godot? I was trying to do something ...
Code doesn't give any error but the texture doesn't show up on screen. I tried different PNG images but the only thing that changes is the color of t ...
I have a game where you need to draw something on a plane with the mouse at the finish. I am raycasting mouse position with this: In the Draw funct ...
I keep having a random error trying to print some image with OpengGL via ImGui library (GLFW as back-end). Here is what gdb give me so far : What' ...
The Texture2D texture is not a blank black screen (it's a colorful image which I'm trying to crop into), but after this chunk of code crop is just a ...
I get an image from the backend which I want to put in a puzzle shuffle game, however right now it is cropping from left to almost middle of the image ...
I need to grab the source image that's on a material. It happens to be texture 2D. However, when I compile code similar to below, I get the following ...
I had tried to generate mipmaps for both DX9 and DX11 in same way, i needed them to sample specific levels from pixel shader. After that i noticed tha ...
I'm trying to display RGB images in a GtkGLArea using a gtk/epoxy stack in C(/C++) langage brought by vcpkg. I have no errors but the widget stay whit ...
I'm making a terrain tool. I made a 2D texture and am using it as a height map. I want to change a specific part of the heightmap, but I'm having a pr ...
im having some trouble with 2d bin packing and cant seem to get the code to work. In this case im using the input: 200x200x10 100x100x2 50x50x1 Wh ...
I've been trying for several days to crop an Image texture (Board - originalImage in the code example) on WorldSpace Canvas using RectTransform(CropAr ...
I'm learning compute shader with Unity, but I've encountered a bug when transferring RenderTexture to the compute shader. Basically, there're 2 textur ...
I am trying to draw on a texture but I don't know the math to convert my mouse position to the texture position. Currently, the code will draw on the ...
I would like to convert old code (from 4.26 to 4.27) but this code contains something removed in 4.27 of Unreal Engine. /* OLD CODE */ ENQUEUE_UNIQUE ...
I am new to working with textures and DirectX and having issues reading back texture data from the GPU. I am interested in reading back only a specif ...
I need to stitch screen captures together into a panoramic texture to be saved as png. The process is solely meant to run in editor and though it work ...
I'm trying to apply a texture to a plane made up of 6 vertexes drawn using glDrawArrays() The first triangle drawn seems to be drawn correctly but the ...
Backgroud: similiar issue here and i use code segments from the answer. However, it does not fix the issue in my case. I have to add that i am a begin ...