Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [textures]

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

0
votes
0answers
31 views

Running OpenGL app on Windows XP x86 produces incorrect texture colors

I'm working with the Cen64 emulator and I compiled from source a x86 version that operates fine on Windows 10 x64. As soon as I run it on a Windows XP x86 machine the colors are then all incorrect. ...
0
votes
1answer
42 views

How do i properly make a skybox in Unity?

I have some trouble creating a sky box from a panoramic texture. Everything appears to be working. However there are some artifacts in one place. How do i get rid of them?
0
votes
0answers
23 views

Texturing edges of a procedurally generated polygon

I'm generating a polygon from code to display unit ranges in my game. Here's how it looks so far: I would love to be able to now use my texture and only apply it to the edges of this polygon (imagine ...
0
votes
0answers
18 views

DirectX 11 - Rendering to Texture only display the clear colour

I'm attempting to render the scene from the current view matrix onto a texture (currently just for testing purposes) but I can't for the life of me get it to work. Currently all the texture displays ...
1
vote
1answer
17 views

What's the best practice to use the pbo to upload multi textures?

I have a basic model to upload textures as shown in the following picture. I design this for several reasons: Only the primary thread owns the OpenGL context, so I choose to create buffers, map ...
0
votes
0answers
20 views

DirectX 11 - Skybox Texture messed up

I'm attempting to create a skybox and I'm currently having some issues with the texture where it looks like this: It seems the textures are not really "sticking to their sides" correctly as it looks ...
0
votes
0answers
23 views

Godot: Possible to create a 2D tilemap and set it as a texture for a 3D surface?

If I created tilemap of some sort of pattern or image and wanted to set it as the texture of a 3d surface or 3d model, how would I do it?
0
votes
0answers
18 views

Adding another diffuse texture on top of the existing one in Unity3D?

I'm working on a voxel game, and I would like to add different properties to the voxels, which are visualised by an extra (transparent) diffuse texture on the voxel's default one. Voxels could have ...
0
votes
1answer
36 views

“RENDER WARNING: there is no texture bound to the unit 0” When not Rendering Texture

I have a webgl program that sometimes renders textures, but mostly renders triangles or lines. When I am not rendering a texture, webgl gives the warning, "...
1
vote
0answers
29 views

Is it possible to make a randomly rotating terrain texture painting brush in Unity?

I wanted to make a terrain in unity with a dirt texture painted onto the original grass texture to make a path, but when I tried, the dirt (and grass) looked repetitive and full of patterns. My ...
0
votes
1answer
19 views

When I open an image from Unity in preview it's blank?

Ok, I need to know why this is and don't have the .png anywhere else. I have a texture in Unity that I need to edit in Photoshop, yet when I Reveal the image in Finder then open it in preview or ...
0
votes
1answer
33 views

How to create a 32 bit red texture byte buffer

I want to make a red texture image buffer. Would anyone help me to make it in right way. I have tried following: ...
0
votes
0answers
23 views

How to scale UV coordinates from a specific offset?

I'm currently attempting to copy a small texture onto a larger texture, but I want to have control over how large and at what UV position the smaller texture is copied over. I've made some progress ...
0
votes
0answers
10 views

How can I tell if a vertex is mapped outside the texture map?

Let's say I create a shadow map from a specific view and then apply that map to a scene. Some objects lie outside the map and they take colors depending on how you defined the shadow map (for example ...
0
votes
1answer
140 views

Vulkan rendering of Minecraft-like world in C++

I decided on using 16x16x16 (4096 total) chunks of blocks. Problem is with textures. First idea was about texture atlas but it would require a lot of calculation and possible problems in dividing UV (...
1
vote
0answers
24 views

How do I wrap my custom texture to a quad using DX11 and C++?

I have manually cut out some textures from a sprite sheet and saved them as individual files for now, and I am trying to load in this png and apply it to the quad I have drawn on the screen, but for ...
1
vote
2answers
29 views

Meshes exported from blender as .obj does not map correctly

I am having some problems with developing my game in OpenGL with java (Using LWJGL3). I have been following a guide for the more complex steps of the process, like loading meshes. When using the ...
0
votes
1answer
30 views

PVRCT Texture Format with glTexStorage2D on Open GL 3.0 ES How?

I've looked everywhere and I can't seem to find the answer. How can I use glTexStorage2D with PVRCT textures? I've done this: ...
0
votes
1answer
48 views

How can I pack repeated textures into one texture efficiently?

I have an obj mesh with some textures, several of them are repeated(uvs are not within [0,1]). I'd like to merge all those textures into one texture and transform the uvs of obj.
0
votes
1answer
46 views

OpenGL Textures not showing

So I'm currently working on a small C++ project for a school assessment and for some reason my Textures are not showing when I run the game. I don't get any compilation errors but they don't show up. ...
1
vote
0answers
33 views

How do I create textured landscape in low poly style?

I'm trying to create something similar to this kind of artistic landscapes in Unity. I've been from trying to use Unity's terrain system and Gaia to making it in Blender; no matter how I can't figure ...
0
votes
0answers
25 views

Unity apply materials to parts of a mesh

How can I apply materials to a part of a mesh in Unity ? As an example I would like to place grass on the first half of a plane and rocks on the second. And if possible, how can I manage transitions ...
0
votes
0answers
7 views

Substance Painter Bayblon.js PBR export (gltf)?

I am using Substance Painter 2018.3 and want to export my PBR material for babylon.js. The documentation of Babylon.js states: metallicRoughnessTexture: Texture containing both the metallic value ...
0
votes
1answer
107 views

Where should I store textures for a game?

I am currently creating a game in SFML using C++ and I'm wondering: what is good practise for a location for textures? Should I store it with my project? Or my executable? Or even in something like ...
0
votes
1answer
42 views

Stealing system RAM for texture cache

As an example, the N64 has a notorious 4kb texture cache. Could someone sap another 4kb (or more) from the system's RAM or the Expansion Pak and use that as texture cache space? If so, would it be ...
0
votes
0answers
59 views

How to get Pixel Coordinates of certain colors in a Texture?

I have a relatively big Texture, and I try to find a certain color pixels pattern: eg. White, Black, White, Green . They are lying next to each other, If I use Texture2d.Getpixels() on every pixel ...
0
votes
1answer
38 views

Difference between texture.Load and texture.Sample(PointSampler,..) in HLSL/Dx

Conceptually, I understand the difference between load and sample but I want to know if essentially point sampling and load do the same thing when it comes to selecting a texture value (ignoring an ...
0
votes
0answers
30 views

Repeat a region of an atlas

I'm using libGDX and I've switched from using a Texture instance for each wall in my game to an atlas. The wall texture you see was repeated alright: As you can see, it skips textures when I switched ...
0
votes
1answer
56 views

Element's texture is null - Monogame/XNA, C#

I have a ArgumentNullException everytime I try to call the Draw() method of my Projectile class in the Game1.Draw() method. In Game1.cs Initialize() method: ...
0
votes
2answers
47 views

How manage multiple images in Unity?

I'm new in Unity and creating a game. So I have a class PicManager in which I have to load my images(sprites) from assets into a ...
0
votes
1answer
52 views

Correctly drag object with mouse

I already have a MouseMotionListener with the mouseDragged method implemented. I can drag an object with the mouse, but it doesn'...
1
vote
2answers
82 views

Pros and Cons of making one complex mesh vs more simpler ones

Looks like I have a problem with basic understanding of how OpenGL works. Lets say I have a mesh made out of three cylinders that is shown on the picture: So are there any major difference in ...
0
votes
1answer
114 views

Can DDS be used in OpenGL in Linux without license/patent issue?

Is there a 'standard' for OpenGL game creation intended for both Windows and Linux? I understand DDS is the DirectX standard (or, at least, it appears to be). Is there one that does not have potential ...
0
votes
1answer
20 views

Sprite more bright than texture

I have imported new texture to UE, and have created new sprite. In the sprite I set as material next one: Also I set as Texture-parameter my texture. But my sprite render more bright than its texture....
0
votes
1answer
69 views

Tools or techniques for UV unwrapping/texturing terrain with features such as roads?

I'm trying to create a map similar to Outset island in Loz: Wind Waker. Here is an example of what I'm trying to create: As you can see, the roads more or less have dedicated tris. However, when I ...
1
vote
1answer
44 views

Why does my terrain texture fail to load? (OpenGL)

I'm currently using a vertex shader and a fragment shader for loading my texture onto the terrain I made. Here is my vertex shader ...
0
votes
1answer
93 views

Migrating 2D game from immediate mode to VBOs

I am in the process of migrating away from legacy OpenGL calls in my 2D LWJGL game. Previously I would render each sprite using immediate mode, which was dead easy - bind the texture, add the vertices,...
0
votes
0answers
43 views
0
votes
1answer
186 views

Opengl texture rendered as solid color,why?

her is my vertex array and texture coordinate.. ...
1
vote
0answers
50 views

Design of (texture) resource system

For an open source game I wanted to redesign the resource management system but got into a dead end and need some pointers to some reading material or where to go now. Starting point was (mostly) a <...
0
votes
0answers
24 views

How can I make metallic maps in Photoshop?

The way I am making metallic maps is I put the UV layout in Photoshop. Decide which portion is more metallic and which portion is less or non metallic. Then I put colors over the layout according to ...
0
votes
0answers
69 views

Texture import settings script not working unity.

I have written a script that should make sure the aspect ratio of my image stays the same when i import it into unity. This is the script: ...
1
vote
0answers
21 views

Built-in Terrain analogs search: is it worth to use imported 3d-model?

I think 3d-model is better than the built-in terrain-component in Unity when it comes to optimization. But when it comes to texturing terrain made in 3rd party 3d-modeller, how to apply resulting ...
0
votes
1answer
25 views

Player customization of entity and handling textures

I'm developing a racing game where you can customize your vehicle with pre-made textures and also user generated ones (players can add assets to the game). I want to know what you think is the best ...
1
vote
0answers
21 views

Emissive material from white texture

I have texture with black and white shapes. I would like that white parts are emissive and black parts are transparent/glass. How to make such material ?
1
vote
1answer
207 views

Smoothness texture map in unity

I shall submit a 3d asset to the Unity asset store. Their submission guidelines say,"... must include at least an albedo,normal,metallic (or specular) and smoothness texture map." My query is how do ...
1
vote
1answer
63 views

What is it called when you combine textures for an object

I am trying to gain a better understanding for modeling and texturing for Unreal 4 and Blender. Now my question is: What is the process/result called when packing textures into one image as shown ...
0
votes
1answer
117 views

libGDX 3D texture is stretched

I'm working on a 3D maze game using libGDX. I'm using MeshBuilder to render the walls. All walls are a single part made using a ModelBuilder in the create(): ...
0
votes
0answers
46 views

Different textures on the single terrain mesh

I am using Love2D and want to create tiled terrain with a single mesh (to reduce the number of draw calls). I want to change a position of some tiles at runtime and do not want any gap to appear, i. e....
1
vote
2answers
83 views

Combining multiple diffuse textures into one leaves strange distortions?

I made 3 models, each has own material. And after texture painting, I combined each their texture to single textures for optimization. Currently making Mobile Game with Unity 2018 and using Mobile/...