A bitmap (raster image) used in a texture mapping process.
0
votes
0answers
14 views
Setting wrap mode of a NPOT WebCamTexture to repeat
In my project, I am using an orthographic camera and a quand in front of it. The quad is set to be stretched and fills the whole view port using the following script.
float scaleY = Camera.main....
0
votes
1answer
38 views
OpenGL Textures not sitting right on model
I have been trying to get textures loading properly onto my models but to no avail. I'm using picopng to load my images.
Here is my code.
[Texture code]
std::vector<unsigned char> buffer, ...
0
votes
0answers
24 views
GLSL Texture 2D Array indexing does not work as ecpected
For some reason i can only ever get either the first or the last texture in my texture Array to render. But if i hardcode an index Value in the shader like texture(sampler, vec3(u, v, 2); i get the ...
0
votes
2answers
34 views
LibGDX: Max number of textures?
I've been developing a game targeted at android. I know not to think about program optimization until the project is finished, but I have to wonder how many textures most phones can handle safely ...
0
votes
0answers
11 views
jMonkeyEngine3 having difficulty loading textured mesh
I have a OBJ (with respective material files, MTL, etc.) model that I created myself and that I can load into Blender just fine.
I am now trying to load that model into jME3 and am having difficulty ...
0
votes
1answer
27 views
How to draw textured tile map in opengl
I am trying to create a textured hexagonal tile map in opengl. I have the VBO and respective index buffer. Additionally I have a texture atlas for texturing individual tiles. I'm attempting to create ...
0
votes
0answers
32 views
Monogame: Texture anti-aliasing result in transparent edges
This is a follow-up question on a previous issue I faced with a game I'm trying to make. It's in a 2D isometric perspective and the levels are created from individual tiles. A simple 3x3 map can be ...
1
vote
1answer
34 views
OpenGL Cubemap skybox edge issue
I implemented a skybox into my program using a tutorial, and using the provided 6 textures from that tutorial to make a cube map texture, my skybox looked fine. However, ever since then every other ...
0
votes
0answers
50 views
glTexImage2D not making texture
i'm loading an email into openGL with soil. I can print out the height I get from the soil function and the char array, but the texture just shows up as a beige colour.
GLuint texture;
glGenTextures(...
0
votes
1answer
28 views
Performance optimization when changing Textures LibGDX
In the main Screen class of my game there is a ListArray<Card> which makes up the deck of cards . The Card's texture is set in the constructor like so :
cardTexture = new Texture(Gdx.files....
0
votes
0answers
23 views
Unity webgl, freezing on screenshot
I have a code that allows me to capture a screenshot and send the byte array to a server to be saved in the users profile, the problems are that I'm building for webgl So I can't use the application....
1
vote
1answer
55 views
OpenGL diffuse texture mapping
I am working on a small game engine and having some troubles when figuring out how to properly map more complex textures to their meshes. I am loading models using the .OBJ format and as far as I can ...
0
votes
1answer
45 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:
assetManager.get("texture_bg.png", Texture.class).setWrap(...
0
votes
1answer
55 views
I am Trying to build a survival game using procedural Generation, successful in generating a Mesh, need help in Spawn and texture
I have create a Terrain using perlin-noise map, I am successful so far. But, now when i am trying to add texture, I can't figure out how. I am using using a colorMap to test, I want grass to have ...
3
votes
0answers
41 views
Build includes sprite packer atlas and its original textures
I use Unity's Sprite Packer, it's working great. However, when I looked at the build report (in the Editor.log) it turns out that the build often includes the generated atlas texture and its original ...
0
votes
1answer
48 views
Multiple Texture Coordinates Per Vertex (DirectX11)
The models my artists are making in maya have multiple different texture coordinates per vertex depending on what face the vertex happens to be a part of.
Originally, to fix this problem, I ...
0
votes
0answers
11 views
Combine diffuse map and lightmap into one texture file
Working with Unity, I'd like to do some more memory optimization. Currently, my 3D models have a diffuse texture and a lightmap, both at the same resolution and compression.
I was wondering if there ...
1
vote
0answers
69 views
OpenGL textures look poor
I'm having some issues loading in textures in OpenGL, as my textures keep rendering incorrectly or coming out looking muddy. For instance, here I tried to load a 256x256 color spectrum image. On the ...
0
votes
0answers
26 views
Free direction texture mapping implementation
I'm trying to wrap my head around free direction texture mapping algorithm as described in the article. It can be used to efficiently render floor or ceilings in raycasting game engines (like in Doom ...
1
vote
1answer
68 views
Where do i start with game development when i'm terrible at art and 3d modelling? [closed]
I've wanted to try and make my own game for a while now but i'm i'm terrible at art, textures and 3D modelling but i want to learn it so has anyone got any pointers to get started with the whole ...
0
votes
2answers
58 views
Using large textures on limited hardware
I've run into a problem where some of the models that I'm loading can have very large textures (2000x2000 for example). While my desktop computer can load them just fine, my laptop gets a segfault at ...
0
votes
2answers
24 views
Sprite loses quality when converted to texture in unity
So I have a sprite that is 750 (width) by 210 (height). I have put it in the game and adjusted the pixels per unit to match the scene size. But soon I realized that I need to use a texture to make the ...
0
votes
0answers
33 views
Faster way to do multi texture blending(HLSL, triplanar texturing and overhang mapping)
Right now I'm doing a lot of lerping to blend my textures based on height(under water, mid ground and height ground), normal.y >= 0.0 for the under side of the terrain, fractal blend map for a marble ...
0
votes
0answers
34 views
How to insert a cube on a specific texture pixel?
I have a map texture with settlement positions set using pixels. Pixels have different colours for different settlement type (castle, city, village, etc.).
Is there any method I can put a cube on the ...
0
votes
1answer
36 views
OpenGL: Which glTexParameters are best practice to set for each Texture?
I am not sure if the question is opinion based, if you think so, I will delete it.
I would like to know the which glTexParameters are best practice to set when creating a texture.
I am already using ...
0
votes
1answer
29 views
Texture not appears?
I make fat cube "fbx" with blender and export it to unity. this fat cube not allowed texture to appears ! i make a small cube by unity and texture pop-up !
What is wrong ?
0
votes
2answers
56 views
Is there a way to read a picture pixel by pixel in unity without any distortions
In my unity project I have an image file which contains information. I would like to be able to read this .bmp file pixel by pixel. So I tried simply loading a sprite, and then reading its texture. ...
1
vote
1answer
40 views
Does anisotropic filtering need a previously generated mipmap?
I have a GPU which supports anisotropic filtering and a 1024x1024 soil texture. I would like to know, if I even need to create a mipmap when I am using anisotropic filtering or if I can just leave it ...
0
votes
2answers
51 views
Unity: Why do my 2 gameObjects 'share' materials?
no one has answered this on Unity answers yet so I thought I might as well ask this here:
recently, I imported my .blend game character and the character consisted of 2 colors: Red and black. ...
0
votes
1answer
26 views
Problem with Basic Diffuse Lighting
So recently I have been learning how to implement Diffuse Lighting in DirectX and I have done so with the following code:
float4 PS(VS_OUTPUT input) : SV_TARGET
{
input.normal = normalize(input....
0
votes
0answers
6 views
Assign materials from previous import of the same model
In a Unity project I'm working on, there were the following steps:
I imported a model into unity
This created a materials folder (which I then moved to a different location)
I assigned the textures ...
0
votes
1answer
25 views
missing textures after taking build in unity
I am working with Unity2D game.I am able to see the texture on the unity editor but after taking the desktop build the texture2d image is not getting visible on the scene.what will be the problem.
2
votes
0answers
37 views
Custom Inspector for textures?
I am working with an open source project called Project Porcupine. The project is a game engine for a base building game that allows for one to extend the game. We have a system to read texture files, ...
1
vote
1answer
39 views
opengl - texture clamping not working
I'm having a problem with post processing in my deferred renderer. When I'm applying an effect like bloom on top of my scene, the bottom of the bloom effect texture leaks into the top of my screen, ...
0
votes
1answer
40 views
Texture Tiling and Texture Coordinates in Unreal Engine
I've just started to learn how to develop games and everything is new for me now.
I don't know where to start and I decided to start with Textures and there is something it is difficult to understand ...
0
votes
0answers
34 views
Set texture tone 'as it is', not affected by material color
So I don't want my texture on material be affected by the material's color. I want it to be the same color as on .png texture image.
0
votes
1answer
69 views
How to put different textures on different sides of a Cube in DirectX 11?
I have recently learned how to texture a cube in DirectX with a single texture but I am now trying to put multiple textures on a cube. If your confused the photo below should clarify.
I am aware of ...
0
votes
1answer
103 views
OpenGL managing many textures smoothly
I'm working on a game right now and running into some noticeable performance issues and limitations.
Basically, I have this:
A few QGLWidgets, all sharing contexts with eachother (probably ...
0
votes
0answers
47 views
three way scene voxelization
I have been researching how to voxelize scene for a while. For example here
and in other sources I found that I need to find axis which presents the largest face area of the triangle. So the ...
0
votes
0answers
50 views
Do I have to calculate the mip maps myself based on level 0 mipmap and if so, how?
I am trying to understand how to fill out D3D12_SHADER_RESOURCE_VIEW_DESC.
Let's make a 2d-texture example:
I have an image width W height H where the stride (including padding between lines) is S>W....
0
votes
0answers
52 views
Change terrain texture in unity
I have two textures for my terrain. As a default I use the green texture. However I want my user to be able to change the settings of the game to make the texture red. I have buttons in place that ...
1
vote
1answer
63 views
Why is the standard on displaying missing textures is via a black and purple checkerboard?
In many different games, such as Minecraft and TF2, the default texture is a black and purple checkerboard. Even games that don't use that exact texture incorporate elements of it. Borderlands 2 uses ...
15
votes
2answers
2k views
How does GPU handle texture and VRAM?
It's actually a bunch of inter-related questions:
Are compressed textures (dxt5/dxt1 etc.) ever completely decompressed while going through rendering pipeline?
If the answer to the first question is ...
2
votes
2answers
134 views
Is it OK to use 6-7k texture map in Unity?
I want to unwrap all my car into one texture (interier, wheels and e.t.c), so for better quality i need to use one big 7k texture. Is it OK or the better choice is to make smaller ones for groups ?
0
votes
0answers
31 views
OpenGL Make texture from Color Array
I'm using LWJGL 3, and I want to make a method that can convert a color array (the Color class contains variables for R G B and A) into a texture. Any help will do, thanks in advance.
0
votes
0answers
47 views
Creating a smooth transition between materials on large models using Unity and/or Blender
Im not sure if this is possible or not... I would like to create a smooth transitiom(crossfade) between two textures on a 3d model made in Blender that can be imported to Unity. For example if I ...
1
vote
2answers
58 views
Any major perf (or otherwise) concerns with rendering to/from big partial texture rather than multiple?
I have a very low res mobile game I'm working on that takes multiple rendering passes followed by a pass the composes them. Currently, I have a tex for each pass- each of which gets given to the ...
0
votes
0answers
46 views
OpenGL texture not showing
The past few days i have been trying to render few basic models to my screen , but to my surprise Textures don't apply to the object .
So i have a main class which holds all my window specific ...
1
vote
1answer
34 views
Why is my texture skewed?
I'm creating hexagonal prisms from code and am having a difficult time understanding how UV mapping works, as the texture I apply to the hexagonal face comes out skewed:
Forgetting the sides for now, ...
0
votes
0answers
30 views
Minecraft Forge 1.8 Block Icon
I try modding a custom sapling and I have modded the block model and it works just fine. But the Block in the inventory has still the missing texture thing. And I would like to have a 2D model for the ...