Skip to main content
Game Development

Questions tagged [textures]

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

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

Mipmaps and LOD Behavior in Skybox Shaders

Is it beneficial to use Generate Mipmaps for a texture used in a skybox shader? I need to use tex2Dlod to fix the edge seams ...
0 votes
1 answer
56 views

In Godot, how to show TextureRect texture in the editor mode but unload it before runtime to preserve VRAM?

I'm trying to optimize a bit. Assume we have an in-game "Item" object made from a simple TextureRect (no children). Naturally, in editor mode I'd like to be able to see that item's icon (and ...
0 votes
0 answers
37 views

How to rotate the "top" sky texture with Directx9?

I'm working on designing and animating the sky with a cubemap. The surfaces except for the "TOP" move in a way that follows each other. However, I could never figure out how to adapt the &...
0 votes
1 answer
51 views

How to create array of Depthstencil2D from texture2Darray

I have already done someting like this for texturecube but here I don't understand what I'm doing wrong. I have the first chance exception error message. Below how I proceed: create a texture for ...
1 vote
0 answers
55 views

How to add dirt/ground variance to the bottom of my mountain/platform in Unity?

I have a cliff in my game. Currently it sits on flat grass, but I want to add more depth to the visuals. I've added ambient occlusion to the pipeline and it has helped a lot. However, what I really ...
0 votes
2 answers
165 views

Difficulty for using asfloat/asuint

I'm trying to convert a RGB color to a RGB555 format to be saved as a float in a R16F or R16UNORM texture. I have a method that works quite well using only float maths for both types of surface but I ...
philB's user avatar
  • 231
1 vote
0 answers
61 views

How do I light textures to get a smooth object?

I've been working on learning how to create painted textures. I was able to create a castle model and hand panted the texture on to it. The castle looks great, but only when it is specifically set to &...
0 votes
1 answer
122 views

Is there any way at all to correctly texture an 8-vertex cube?

I have an 8 vertex cube whose vertices are defined like so: ...
1 vote
1 answer
168 views

ASSIMP texture path is bad for GLB exported from Blender

I'm exporting to GLB from Blender and the path returned by mat->Get() is "*0" so my LoadTexture fails. I am fairly new to Blender, but the material options for the exporter are few. This ...
0 votes
1 answer
99 views

Materials created from JPG images not working for new Universal 2D project with URP pre-configured 2D Renderer

I have Unity version 6000030f1, and I've started a new 2D project with the option Universal 2D - ...
0 votes
0 answers
62 views

Back buffer texture appears distorted before presenting

I am trying to send video data from Dolphin Emulator to another process. To do so, I first get a reference to the back buffer from the swap chain. ...
0 votes
1 answer
61 views

How to destroy/remove Texture after collision in java box2d

I'm coding a simple Arkanoid/Breakout game and have problems with removing the bricks. I'm able to destroy the body but the texture is still there. I'm a beginner so is there a simple way to remove it ...
1 vote
0 answers
73 views

How to project Polygon onto Lightmap texture like in quake?

I am in the process of writing a Lightmapper and I discovered this video about Quake's lightmapping process: https://www.youtube.com/watch?v=bxientPsqRg The video discusses that the polygon is somehow ...
Raildex's user avatar
  • 787
2 votes
1 answer
164 views

How to sample a R8_UINT texture in hlsl?

I'm a newbie in DX12 and trying to visualize Stencil buffer onto screen. I've been copied stencil plane slice into a DXGI_FORMAT_R8_UINT texture, but when HLSL samples this texture it just returns 0, ...
4 votes
1 answer
305 views

What is Starbound's method for handling tiled textures called?

When digging through Starbound's assets, the assets for dirt had two rows. A top row that was 8x8 pixels and a bottom that was 12x12 (See image): Now I know that they're not just simply being placed ...

15 30 50 per page
1
2 3 4 5
...
104

AltStyle によって変換されたページ (->オリジナル) /