Questions tagged [textures]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
906 views

Repeating a background texture forever in libgdx

My "game" works with a pretty large playing field, so I need a repeating background. I've implemented this the following way: Loading: ...
0
votes
1answer
26 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 ...
6
votes
2answers
4k views

Rendering multiple textures on a terrain in XNA / C#

I am working on a terrain in XNA/C#. My intention is to be able to render multiple textures on the ground across the terrain. However, all tutorials like this are only capable of doing it with about 3-...
0
votes
1answer
106 views

Reversing plane projection texture mapping algorithm

I found this algorithm in some old codebase, it takes two triangles from a mesh ABC and PMN, where ABC is the triangle that will be rendered and PMN is an extra triangle that is only used to generate ...
1
vote
1answer
2k views

Libgdx change color of Texture at runtime [closed]

I've also asked this question on StackOverflow. In a Libgdx game, I have some Animations for my Player. All the ...
1
vote
1answer
66 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 ...
2
votes
2answers
95 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, ...
2
votes
1answer
686 views

Tiling texture doesn't repeat, even though wrap mode is set to repeat

For some reason, my floor tiling (set to 100 x 100) only shows on one corner of the plane. Past that corner, it just stretches out to the sides and leaves the middle one solid colour: Here is how I'...
0
votes
1answer
252 views

Draw a texture2D at specific coordinates on another Texture2D

I have a ShipTexture and a Sail Texture. I need to draw the sail texture at a specific location on the shipTexture (call it the sailMountPoint) regardless of the location vector associated with the ...
0
votes
1answer
75 views

Missing texture after add new actors

I want to add two types of characters multiple times but when I add a new actor to stage texture in "old" actors stops render. I can add multiple KnightActor (...
0
votes
1answer
39 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 (+ ...
0
votes
1answer
152 views

How to apply saturn's ring texture in Unreal Engine 4?

I'm working on a "solar system" model project. And while trying to apply saturn's ring texture which is this one : it ended up looking like this: I'm new to UE4 and this branch in general. So I ...
0
votes
1answer
291 views

Where can I find the Roblox Material/Terrain textures?

The textures shown in this image: Where can I find them? I am making a Roblox game, it's a terrain based mining game, and I want to add an inventory. Where can I find the textures for the terrain to ...
0
votes
1answer
52 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 ...
2
votes
2answers
1k views

How to expose a child node’s texture from the parent in Godot

I built a simple scene that I instanciate at will. Simply a KinematicBody2D as root, containing a Sprite and a ...
0
votes
2answers
86 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
26 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 ...
0
votes
2answers
1k views

Limit Color Pallete Using Shader (Unity)

Basically, what I want to do is take a primary input image texture (which is a render texture in-game) and a secondary pallete texture (contains X number of colors, and is X by 1 pixels in size). What ...
0
votes
1answer
68 views

d3d11 black texture when manually creating from image (Rust)

I am trying to create a ID3D11Texture2D from a RgbaImage loaded from a .jpg. The below code produces no errors. However, the texture is black when it is actually ...
2
votes
1answer
26 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 ...
1
vote
2answers
4k views

Why LineRenderer texture stretching when I set it to tiled?

I see this: I have a Line Renderer set up like this: This is the material: As you can see even if the texture mode is "Tile" the line stretches after the first element of the line. What am I ...
0
votes
1answer
800 views

LibGDX - Draw multiple textures with different positions with one shader?

currently I'm optimizing my render calls by drawing multiple textures with one shader. The background textures who all share the same position are no problem. But now I want to draw some Textures with ...
0
votes
0answers
21 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. ...
2
votes
1answer
2k views

Unity procedural skybox shader texture stretching

I am using the procedural skybox shader that Unity provides, but have tweaked it so that I can have a cloud texture. The problem I have, is that the texture is not tiling correctly, even though it is ...
0
votes
1answer
395 views

LibGDX: Best Texture Sizes to use for highest resolution?

I have two texture atlases: 1 is 1024x1024 (mostly used for GUI elements), the other is 2048x2048 (for game objects like characters). I used Texture filter mip map linear on them. But when the ...
0
votes
0answers
52 views

Blitting multiple SDL_Surface texts on top of an empty SDL_Surface results in strange outlines

I'm trying to create a single SDL_Surface that has multiple lines of texts stacked on top of each other using SDL2. When I create a single ...
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 ...
1
vote
1answer
134 views

OpenGL texture2d/image sampling issue. Strange artifacts in texture

I have an issue when using textures in OpenGL, strange artifacts occur where geometry overlaps, but not always. Video Reference. I am using a GL_TEXTURE_2D with <...
0
votes
0answers
70 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
62 views

DirectX/SharpDX How to render bitmap drawing to texture off-screen?

This isn't specifically related to gamedev, but SO seems dead when it comes to questions about DirectX so I thought I'd try asking here: I've been making changes to a desktop recording project found ...
1
vote
1answer
1k views

LibGDX: How to use AssetManager with Texture Atlases?

A similar question was asked before, but I never saw an answer. How does one load individual texture regions that derive from a texture atlas using assetManager? I know that assetManager relies on a ...
0
votes
0answers
11 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
102 views

Blender & Unity - Move texture with Bone in way that works with Unity?

I created a character model in Blender with non-spherical eyes. The only way I can make the eye movement look good is if I move the pupil Image Textures along the eye meshes. The way I've achieved ...
1
vote
1answer
79 views

Draw calls in Unity 3d

I have only 20 materials in my game (19 are made with textures atlas). But the Setpass call is 72. I don't understand why. I want to know how to decrease the number of SetPass call. This is a brief ...
0
votes
1answer
778 views

Unity: Non Power of 2 Textures

I have a texture that is 1024x900. Should I resize it in Photoshop to be 1024x1024 or leave it as it is? What about a texture sized 1000x900?
0
votes
2answers
709 views

How can I have margins or padding around a texture in libgdx?

I am building a game using libgdx a 2048 like game and I draw the tiles of the board using textures (each texture represents a tile with the number 2 or 4 etc.) I would like tohave a small space ...
0
votes
1answer
38 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
9 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
1answer
164 views

Issues to display a texture loaded with libPNG with opengles 3.0

I'm trying to load a texture loaded with libPNG on a XY coordinates. I know the width and the height of the texture (32x32). The texture is already loaded successfully and I have his Id. Here is my ...
1
vote
2answers
664 views

Proper way to update pixel array data

For a game that updates a board every frame I am calculating the next arrangement of board, updating pixel array data and render board as 2D texture to quad the size of the screen using OpenGL. I use:...
0
votes
1answer
799 views

World space coords for 2d images

How can I make an 2d image using World space coords with a shape? Like a circle instead of a quad.In 3d you can modify the vertices but if I want a smooth circle there will be too much vertices. What ...
0
votes
1answer
57 views

Texture blends into one single color

It looks like that it's being sampled from the least detailed MIP level, at least RenderDoc sees the texture as it should be, and what the actual texture looks like is the same as MIP 9th. I'm using ...
0
votes
0answers
38 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
1answer
82 views

texturing a race track - applying variations

I have created a simple race track in Blender using bezier curve, array and curve modifiers. A track is created from simple planes and the basic seamless asphalt texture looks quite good. As you can ...
0
votes
0answers
18 views

PBR texture conversion

Is it possible to convert from specular/glossiness to metallic/roughness textures for UE4?
0
votes
1answer
78 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 ...
0
votes
1answer
30 views

When importing a character to Unity, textures and meshes don't appear

I'm relatively new to Unity, and I'm left with doing this as my last step towards my task - importing my animated character to a game engine and program the movements. The problems that I have ...
0
votes
1answer
550 views

Texture with Transparent background has black background in Unity

please see the below image. I made a model in Blender that has eye meshes with UV mapped Pupils. But trying to import all this into Unity is causing tons of weird visual errors... The pupil png has a ...

1
2 3 4 5
29