Questions tagged [textures]

A bitmap (raster image) used in a texture mapping process.

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

How to make a 3-Color Noise texture in Substance Designer?

I am trying to make a seamless leafy texture in Substance Designer procedurally. Basically I want 3 colored noise from scratch. Even two color would be ok but not just black and white. In the ...
0 votes
1 answer
83 views

Texture does not draw with ATI Radeon RX, but does with NVIDIA/no GPU

I am getting a problem when trying to draw a texture on the following hardware (configuration 1): ATi Radeon RX 6600 XT Screen (OS Windows 11): I have other hardware (configuration 2): nVidia Geforce ...
  • 147
0 votes
1 answer
35 views

Applying texture in a circular rotation to 2D object

I am trying to apply texture along the ring by using shaders. I am trying to avoid unnecessary mesh creation. I am trying to achieve it by using Shader Graph in Unity however I couldn't make it work ...
  • 3
16 votes
1 answer
5k views

Blank 2.2 KB sized PNG costs 2.1 MB in Unity? What does this represent? What to do?

I am starting to work on optimization for my app. I need to understand the information Unity displays about file sizes. For example, just to prove a point, here is a 2.2 KB completely blank PNG which ...
  • 419
0 votes
1 answer
65 views

How to I modify a texture in OpenGL?

I am programming the editor for a RTS game and I have created the following: I am trying to modify the terrain so that it is not completely grassy. I am intending to add functionality so that I can ...
0 votes
0 answers
22 views

Unreal Engine Scale Ground Material Into A Pattern Instead of One Big Overlay

I bought a ground texture and I'm trying to apply it to the landscape in an Unreal Project. When I apply the ground texture it looks like this: The landscape is really large so I'm assuming the ...
1 vote
0 answers
32 views

Unreal Engine Can't Rotate Material

I am a Blender artist and Unity Developer. I'm very familiar with materials and texture maps in Blender and I'm only moderately familiar with texture maps in Unity. My workflow is to do all of my ...
0 votes
0 answers
12 views

Convert D24S8 (S8 not used) to R16 within Map/Unmap

I'm currently using a render pass to a quad to convert my regular D24S8 depthbuffer to a R16 shaderresource. I think this is not optimal and would like to use map/umap instead. Do you think this will ...
  • 57
0 votes
0 answers
30 views

Draw Surface using destination rect in pygame

Is there a way to draw a region of a pygame Surface into another region on a target Surface? If I have a screen ...
  • 4,296
0 votes
0 answers
30 views

Formula for calculation for total size of texured mesh of a home in gigabytes

I'm trying to calculate the size in GB for textures + meshes for someone's home of size 1500 sq ft containing (around 12K total objects) for 3 LODs. I understand this number can vary quite a bit ...
0 votes
0 answers
39 views

How to texture seams between walls on large building

I guess a modular approach can be used in modelling, but I don't really understand how to texture those seams between walls, so they are not repetitive looking.
  • 1
4 votes
0 answers
72 views

Generate seamless textures that can be UV-mapped ramdomly

I want to test procedural texture generation for one of my projects, my goal is to use those generated textures with random UV-mapping in order to avoid noticeable texture repetition. For purely ...
0 votes
1 answer
52 views

How to extract the largest mipmap of a DXT5-compressed VTF file?

I'm trying to programmatically convert the largest mipmap of a 32x32 DXT5-compressed VTF file to a PNG. Here is what the image should look like after conversion: And here is what mine looks like: ...
  • 1
0 votes
0 answers
37 views

How to apply a texture to a Bézier curve-based mesh

I have an object that I originally made using a 2D Bézier curve which I turned into a mesh and solidified in Blender. However, now whenever I try to apply a texture to the concrete plinth, it applies ...
1 vote
0 answers
76 views

What are the limitations or downsides of using Procedural Textures extensively?

Are there negative consequences to making heavy use of 'procedurally generated textures' in Unreal Engine 5, as opposed to normal textures? I found some info in the docs that it 'saves memory', but ...
  • 141
0 votes
0 answers
42 views

How to cut a texture created with DirectX9?

I created two textures in DirectX9 with CreateTexture method (one little HQ and one big LQ), and for some reason my shadow textures are blending. Is there any way to stop that blending ? I want my ...
0 votes
0 answers
55 views

Reprojecting a 1024x512 texture to an equirectangular cylindrical projection

I have recently been spending a lot of time with procedural texture generation. However that quickly came to a halt when I was trying to get the textures to map to a sphere. I am required to use an ...
0 votes
0 answers
38 views

Suddenly getting pink rendered texture on model

Hey All I have been using this model in this project for a bit and everything was fine then suddenly this issue popped up and I am not sure what could be the cause. I am using a flatkit shader but ...
  • 137
0 votes
0 answers
115 views

Implementing material (mtl) files into objects (obj) in LWJGL/OpenGL

I have an object loader that takes in textures, but when I try making some textures, they never turn out exactly how I want. I found out that a lot of them take a colour I want in one place and put it ...
  • 1
0 votes
0 answers
26 views

Inward looking panorama

I have a 3d model with very complex geometry. I want to bake these details into a texture map. I want to transfer the rendered image of the model to a low poly version. It is like a panorama, but the ...
0 votes
1 answer
79 views

Unity: How to determine and highlight map region under mouse pointer efficiently

In a 3D Scene, I have a table asset on which sits a game board asset, displaying a map with countries. My map is quite large- 7776 × 3456 pixels. The Main Camera looks down at an angle, can be moved ...
0 votes
1 answer
25 views

Raycaster Textures Scrolling?

I am making a raycaster, I Have currently got textures rendering, but with North and South faces it appears that the texture is scrolling infinitely. I have read Shimmering, scrolling/panning a ...
1 vote
1 answer
78 views

Filter PNGs whose filenames end in "_Normal" using preset manager

I have made specific presets for textures like Normal or Emission maps. After they are imported I have to manually select each one and assign the proper preset. I want to automate this process. To do ...
0 votes
1 answer
40 views

How to generate the in-game world map UI for a large world?

I would like to generate a map of the game world (i.e. a world map for a full screen UI). I am not an artist so would like to automate the process. For small levels I was able to do this by capturing ...
  • 31
0 votes
0 answers
45 views

Expected memory layout of 3D textures

I'm writing a texture viewer application which up until now supported 2D as well as 2D array textures. Recently I wanted to add support for some volumetric 3D textures that I stumbled upon but I am ...
  • 204
0 votes
0 answers
14 views

Is there a better, built-in, FASTER system to compose textures by a sequence of textures on top of each other?

Say I have these textures: Disclaimer: These textures belong to RPG Maker MZ and nobody has rights to use them outside their client, so never use them for production deployments but only to ...
0 votes
1 answer
53 views

How do I offset a texture pointer in order to store an array of D3D11_SUBRESOURCE_DATA?

I'm attempting to load a sequence of frames from a GIF into a Texture2DArray using stbi_load_gif_from_memory which returns a ...
  • 1,986
2 votes
0 answers
188 views

How to get rid of these seams on the lightmap? ( Unity )

The wall is made of blocks of identical wall models with the same UVs. How to get rid of these seams on the lightmap? How I made this scene with this models: I made 3D model of the wall element in ...
0 votes
0 answers
56 views

Unity - determine if textures are not used, such as "blank" normal texture and black occlusion texture etc

To try to optimize for runtime load of arbitrary 3D models, many of which have "fake normal textures" (basically, just a flat shade of purple - does not really add much to the look), how do ...
  • 184
1 vote
0 answers
647 views

Is it possible to work with UDIM Tiles textures in Unity?

I thought about trying to work with UDIM in Unity, but I'm not familiar with this topic. It seemed to me that Unity should not work with UDIM at all. Is it so?
0 votes
0 answers
52 views

How to modify UV data using GLM/OpenGL

I am attempting to translate texture coordinates in an interlaced VBO the same way I translate vertex positions. That is ...
0 votes
0 answers
30 views

OpenGL multiple Compute Shader passes creating a checker pattern

I'm working with OpenGL 4.3 compute shaders and I've run into an issue where it seems to fail to write/display every other pass. The code takes in a raster file from GDAL and loads it into an initial ...
  • 1
0 votes
1 answer
73 views

How to add a texture inside a specific area in a canvas in javascript?

How could I draw a texture between the bottom of the canvas and below the green line, in javascript? I dynamically add coordinates in a canvas, then draw lines between these points. EDIT : Solution: ...
  • 11
0 votes
0 answers
28 views

How to make render texture grayscaled?

I have made a minimap, but I don't know how to make it less colorful and haven't find any solution for this.
0 votes
0 answers
101 views

GLSL - if or #if for conditional sampler read

I have a GLSL ES 3.0 shader and in certain scenario, I want to read from two textures instead of one and do a lerp between them. However, I am not sure what is a better solution. Use standard runtime ...
  • 1,096
0 votes
0 answers
29 views

How do you apply HistogramEqualization to a Texture in Unity?

Trying to convert a c# snippet that uses LockBits, marshals and strides to be used to do a histogram equalization operation on a texture in unity. I'm not sure where it's going wrong exactly or how ...
  • 184
1 vote
1 answer
497 views

Techniques to make 3D models to look like oil paintings

I intend to develop a fantasy 3D game focused on warships, with a look similar to oil paintings. The reasoning behind this decision is that the art style would allow for a sense of wonder and ...
  • 115
0 votes
0 answers
116 views

How do I add damage marks to a character?

I am using Unity3D and I am making a melee combat game. When a character gets damaged by a sword I need to add cut marks in enemy skin/armor. Is there a way to alter the texture to add the cut mark in ...
1 vote
0 answers
40 views

How to make a cloudy looking planet?

In my game you navigate in space and you can come across planets. You can approach the planet and then land on it. At first I wanted the planets to be spheres, but then I realised how unpractical this ...
0 votes
1 answer
26 views

Depth does not writes in texture

I am doing volumetric fog. In the first pass I write down the depth of the front polygons of the cube, in the second pass I write down the depth of the back polygons of the cube, in the third pass I ...
  • 11
0 votes
1 answer
33 views

How to remove the influence of a region of a texture, using texture stages?

I created a 512x512 shadow texture, and I don't want to render the center part on my Terrain. Can something like this be done? I didn't find anything on the internet about this (Example as in the ...
-2 votes
1 answer
146 views

GL error GL_INVALID_OPERATION: mismatched type setting uniform of location "4" in program "1"

I get this error while trying to add lighting ...
's user avatar
-1 votes
1 answer
75 views

How do I add light to my textures?

How do I add light to my textures using this? I have this GLfloat ka = 1.0; glm::vec3 ia = glm::vec3(0.5f, 0.5f, 0.5f); and in the fragment shader ...
  • 1
0 votes
1 answer
151 views

If I want to use textures and colors, how do I put them into my fragment shader?

I have many mesh objects in my scene and I have applied an image texture to some objects but I want to set different colors for the other objects. How do I do that? This is my fragment shader ...
  • 1
0 votes
0 answers
50 views

Opengl. A single texture is applied to all my objects. glTextureStorage2D Error faced

I can't seem to figure out why a single texture is applied to all my objects. I have three objects - fence, ground and cone but they get weirdly placed textures or a single texture on all of them. ...
  • 1
0 votes
2 answers
68 views

Make materials higher quality as the user gets closer

Scenario I have a sphere with an low-quality earth texture on it. I also have a much higher quality earth texture (Gigabytes in size) that I can use but it's too performance intensive to use on most ...
  • 191
2 votes
1 answer
52 views

Only Square Textures loading correctly (Beginner question)

(Sorry if this has already been asked, I couldn't find any other question or source describing my problem) Okay so basically Square textures load and display just fine. But for some reason, when ...
2 votes
1 answer
338 views

How to create/get good terrain texturing for an RTS game?

I'm writing an rts-style game, so I have an overhead camera, typically 20-50m above the terrain. Most ground textures (grass, dirt, etc.) I find are obviously made for a much closer, probably FPS-...
  • 1,242
2 votes
0 answers
75 views

How do I create terrain texture maps from photogrammetry?

I want to create a terrain texture diffuse and normal map. To do that, I have capture some terrain with photogrammety: I have cleaned up the high poly model and created a lo poly model from it in ...
  • 829
1 vote
1 answer
143 views

Should I be worried about textures higher than 4K?

Upon developing a big project, it just happened that when stitching all the thousands of animations spriteframes of a single character together, the sprite sheet turned around to 2K by 13K texture!! (╯...

1
2 3 4 5
30