article thumbnail

Accessing texture data efficiently

Unity Blog

Learn about the benefits and trade-offs of different ways to access the underlying pixel data of textures in your Unity project.

Texture 117
article thumbnail

Comparing BCn texture decoders

The Astronauts

PC GPUs use “BCn” texture compression formats (see “Understanding BCn Texture Compression Formats” by Nathan Reed or “Texture Block Compression in Direct3D 11” by Microsoft). Why would you want that? After all, isn’t that done by the GPU, magically and efficiently? Normally, yes.

Texture 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Black screen on old devices cocos 2.4.11

Cocos

Also, take a look at the sprite data of the images that are showing up black… are any of them abnormally large? not file size large, but actual pixel size… if you have anything over 2k, I’d highly recommend making it smaller and testing. )

Pixel 52
article thumbnail

Cocos Shader Tutorial 1.0 - about UV

Cocos

The vertical axes of textures and picture pixels is shown above, when sampling textures in shaders, that is from top to bottom, which is top-right corner. This is consistent with how most image file formats store pixel data, and with how most graphics APIs work (including DirectX, Vulkan, Metal, WebGPU, but not OpenGL).

Shaders 98
article thumbnail

Unlocking GPU Intrinsics in HLSL

Nvidia

For example, a shader can use warp shuffle instructions to exchange data between threads in a warp without going through shared memory, which is especially valuable in pixel shaders where there is no shared memory. This example, on the other hand, can be plugged into virtually any pixel shader, and the effect is obvious.

Shaders 52
article thumbnail

Lethal Company Low FPS: Boost Your Performance Effectively

Game Errors

This often results in low FPS and stuttering, as the system cannot process the game’s data quickly enough. Lower Graphic Settings : Look for graphics settings and reduce the quality of textures, shadows, and effects. Open Game Settings : Start Lethal Company and go to the settings menu, usually found in the main menu.

FPS 52
article thumbnail

Dev snapshot: Godot 3.2.4 beta 3

Mircosoft Game Dev

New option to snap 2D transforms to whole coordinates , helps prevent jitter on pixel art camera motions. GLES2: Fix glow on devices with only 8 texture slots ( GH-42446 ). GLES2: Use separate texture unit for light_texture ( GH-42538 ). glTF: Fix parsing base64-encoded buffer and image data ( GH-42501 , GH-42504 ).

Beta 52