Questions tagged [textures]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

What is the best approach to using videos to animate a weapons' display screen in Unity?

My job is to create, model and animate sci-fi weapons', and create Unity assets out of them so they are ready to use. This particular weapon has two side displays. I've animated some text in After ...
0
votes
0answers
18 views

OpenGL sampling a multidimensional texture

Preface: In my AI project I'd like to do UV mapping of my mesh with a neural texture consisting of 16 channels with 512x512 values of type float16. The result will be a neural frame consisting of 16 ...
0
votes
0answers
12 views

Pytmx loads no tiles or textures, it seems

So, I've been trying to load a tmx file through pytmx But when it loads the file, it only loads a black image with the same resolution as the tmx file. ...
1
vote
0answers
6 views

Libgdx tiles get overlapped on render

I'm trying to create a Tilemap with 64x64 textures which follows this configuration. ...
0
votes
1answer
20 views

How to use Texture2DArray with Normal map and Normal Unpack node in Shader Graph

I am extracting Normal Map from Texture2DArray in shader graph and then converting it to normal using ...
0
votes
1answer
23 views

Unity Texture2DArray is too noisy

I've generated a Texture2DArray from array of Texture2Ds and for some reason, when my shader is using Texture Array the output ...
0
votes
0answers
27 views

SDL2 - Updating part of a texture is slower than updating all of it

I'm programing a kind of cellular automaton in which each pixel is an automaton. I'm using a SDL2 streaming texture with the SDL_LockTexture() and ...
0
votes
1answer
20 views

How to best select a texture pair to use in height blending when using a splatmap shader

In my project, I'm implementing a shader to combine up to 4 textures in a terrain using a splatmap texture (https://en.wikipedia.org/wiki/Texture_splatting). I want to combine the splatmap blending ...
0
votes
0answers
7 views

Why does 'SpriteRenderer.drawMode' virtually change from Tiled to Simple when 'SpriteRenderer.size' exceeds some value?

Given: texture size = 225x225 2D sprite object; SpriteRenderer.drawMode = SpriteDrawMode.Tiled; Now if SpriteRenderer.size is changed to 286x286 the sprite is ...
0
votes
1answer
14 views

Get all images from peristent data path and save them to a Texture2D array

So i managed to make a working script that downloads images from firebase in this situation and saves them to Application.persistentDataPath. Now what i would like help in doing is getting all those ...
0
votes
0answers
21 views

Not clearing FBO's Texture error in battery economy mode

When rendering inside a FBO's texture, I'm not using glClear() but overwriting each fragment, GL_BLEND is set to true. This works just fine, but I just realised when my laptop switch to economy mode, ...
0
votes
2answers
57 views

Is it better to load all of the scene at once or load small parts of it as the player moves?

I want to create a lot of detail in my game but I don’t want to kill the frame rate tracking all the models and movements (like all the grass). Will loading them in pieces save the frame rate or will ...
0
votes
1answer
52 views

How to create a texture SRV with different sRGB format from a render target in DX11?

Is it possible to bind a texture with a different format as render target and as shader resource view? Specifically with a different _SRGB suffix. My goal is to render a shader into an R8G8B8A8_UNORM ...
0
votes
0answers
17 views

Assertion Failed: TextureRHI - Texture Casting Errors (UE4)

I am taking a pointer to a UTexture2D asset "MyTexture2D", and casting it to an array of FColor using the following: ...
0
votes
0answers
39 views

How to texture procedurally generated custom terrain mesh

I am making an infinite procedural terrain for my game and currently trying to apply textures to it. The generated terrain has different biomes, so I want to texturize the terrain based on biome and ...
0
votes
1answer
115 views

Issue with Texture2D memory leak in Unity

I have a simple method that converts RenderTexture data into Texture2D ...
0
votes
0answers
10 views

Fade a texture effect as it nears the end of a cylinder mesh

In my game I have a laser beam that travels for about 15m, but abruptly stops due to the mesh the texture is attached to. How can I setup my shader graph so that the end of the texture fades away? I ...
0
votes
2answers
58 views

How to vertically flip a DDS texture on import?

I have a program capable of rendering 3D graphics using Direct3D11 and it is currently compatible with two different texture formats, TGA and DDS. The code to read and load a TGA texture in memory I'm ...
0
votes
0answers
34 views

Single Array Texture, multiple wrap modes

I have a array texture of which I would like some of its sub-images have wrap modes of GL_REPEAT and others to be ...
0
votes
1answer
44 views

Convert a UV shader to Triplanar

I am doing procedural environment generation using Houdini and Unity. There are two main shader features I want: Vertex-Color Height Blending - I currently have a shader for this which I purchased. ...
0
votes
2answers
30 views

How to give a certain scene different preference settings then other scenes unity

In my unity game that I am creating there are 4 scenes. 3 of those scenes rely on a backdrop because they are the main menu, death screen and the escape screen(for when you escape the place). ...
0
votes
1answer
20 views

texture size of characters and geosets

I am a 3D artist, not a game developer but I am interested in dabbling none the less. Would anybody know the texture sizes currently used for games like WOW or Guild Wars 2? Don't worry, I'm not ...
1
vote
1answer
83 views

Apply multiple Shaders to one texture with DirectX

I'm beginning with DirectX development and I'm quite confused by the documentation about how to do the following: I have 1 image (Texture2D), I'd like to apply 2 independent HLSL, one after the other, ...
0
votes
1answer
25 views
0
votes
1answer
51 views

What does the max texture unit mean?

My graphics card is a UHD 620 from intel and it says that it has 24 texture units (as far as I know). Using SDL2 creating and loading 25+ texture works fine, so am I not understanding what the max ...
2
votes
2answers
177 views

Renaming Texture 2D nodes in Unity's shader graph?

I am new here so thanks for having me. I have a query regarding renaming the Texture 2D nodes I have created in my first Shader graph. I have setup a shader graph with a normal map, base colour, ...
0
votes
1answer
56 views

Can textures change between resolutions?

I'm a beginner in game design and textures have been bothering me. How do they work in video games? Here's what I mean. Can textures change between resolutions in settings? Or is it tied to screen ...
0
votes
2answers
118 views

Best Practices for Texturing Large Objects

Kind of a 3D graphics newbie here. This is the biggest prop I've ever tried to texture, and I'm kind of stumped. How do you get a decent resolution on large meshes like this without exporting ...
0
votes
1answer
38 views

set model to transparent where texture is transparent

I finally got around to applying textures to my game, and I noticed that the areas that are transparent on the .png of the texture are not transparent on the actual model.It is illustrated in the ...
1
vote
2answers
151 views

How to hide player when in Shadow using Unity 2D Light System?

I have been looking for this for a couple of days now and cant find an answer; how can I hide a player when they are in the shadow when am using Unity 2D Light System? I know I can choose not to cast ...
0
votes
1answer
45 views

What is the name for the technique to use different palettes for different tiles of a screen?

I've found the keywords "subpalette" and "PPU palette", but they seem to be NES-specific. Though the idea of using a small palettes table and use 2 bits per pixel in an image (+ ...
2
votes
1answer
30 views

Why Unity Corrupts textures when used on a Sample Texture node shader

I am trying create a glow effect on a background, to do this I am using shaders, when I use the main texture everything is okay, but when I put the emission map the texture corrupts Here's the ...
0
votes
0answers
23 views

How can I change isReadable of imported DDS images?

I'm importing DDS textures from editor scripts and I need to access the GetPixels() method from each imported texture to check if the image have transparent pixels. ...
0
votes
0answers
20 views

Draw Ordering with Glowing Objects

This is mostly a general design theory question, but for reference the bulk of my game is in JavaScript. I can draw images to the screen that layer on top of each other in the order that I please. One ...
0
votes
0answers
134 views

C++ Raycast using SFML

I know this isn't exactly C++ related, however, I was just wondering if anyone knew anything about texture mapping onto a raycaster. I'm currently trying to write my own and I'm struggling to map ...
0
votes
0answers
12 views

Splitting textured model faces into different polygons

So I have a bunch of hat models that I wanted to incorporate into my game (custom engine, c++/opengl) and my problem with the models right now is that each hat has its own texture with different color ...
0
votes
1answer
46 views

Textures not working on glTF Embedded Models. Picture Explains The Issue. (GODOT ENGINE)

I wanted the tree to look a bit more stylized, or have a bit more to it than just flat planes. Yet when I tried to put this texture on it, it just looks completely wrong. Is this a model issue or a ...
0
votes
0answers
11 views

(Unity) How to show a texture on a model at a specific Pixels Per Unit?

I'd like to use flat 3D models alongside pixel art sprites, but I have no idea how to make the textures applied to these models have the same Pixels Per Units as the sprites. How can I achieve this ...
0
votes
0answers
53 views

Importing FBX model with updated textures into unity creating duplicate textures when using “Extract Textures”

I am trying to figure out the best way to update models, textures and materials. I have a city model (city.fbx) that comes into unity with baked textures and ...
0
votes
0answers
30 views

PBR texture conversion

Is it possible to convert from specular/glossiness to metallic/roughness textures for UE4?
0
votes
1answer
142 views

My pixel art looks weird in the game view in Unity [duplicate]

I am making my first 2D game in Unity and something has been bothering me. If I'm in the scene view, my game looks fine but when I go to the game view the pixels in the sprites aren't rendered ...
3
votes
2answers
126 views

Different textures inside and outside a cube in DirectX 11

I want different textures for the outside and inside of a box (cube). The image below shows what I want to achieve. It is kind of an open box, where we can see a different texture inside: I was ...
1
vote
0answers
38 views

SDL Texture not scaling to the renderQuad

I'm building a Space Invaders clone and using a sprite sheet for my invaders, but when I grab the texture from the sprite sheet, it doesn't scale to the renderQuad that I set. This is the original ...
0
votes
0answers
40 views

Texture disappearing from landscape

I am using Unreal Engine 4.25, and I have an issue with adding textures. I have some textures right now in my landscape, but lately when I add a texture to the landscape, suddenly all texture ...
0
votes
0answers
57 views

Why won't PNGs load successfully to game from server?

I'm working on a game which involves loading pictures from a server and rendering them as sprites. The images are stored as PNGs and open normally from on the server. I get no errors when downloading. ...
0
votes
1answer
152 views

Half of my tris are textured in streaks and blurs

I have written code to import meshes from OBJs and textures from BMPs. My texture coordinates seem to be getting messed up somehow, or some other issue is occuring, because I am getting these effects ...
0
votes
0answers
20 views

Per-component Shader Blend in Unity

Context : I'm writing a 2D mobile game in Unity where the graphics are essentially black lines drawn on a background image plus some lighting. Running full RGB calculations for every step seems like a ...
1
vote
1answer
22 views

Bind render result to texture id

I want to save the result screen of the rendering and then apply another shader on that result, the typical way is to read the screen using glReadPixels and then buffer that image to gpu and then ...
0
votes
0answers
31 views

Rendering a textured 3D cube in R

I am trying to render a 3D cube in the R programming language, and add a texture to each cube face. So far I have this code that draws the cube: ...
0
votes
1answer
75 views

SDL_CreateTextureFromSurface not working

Code: ...

1
2 3 4 5
29