article thumbnail

Shader display problem

Cocos

On a smaller texture, the distortion is greater than on a larger texture. The HelloWorld texture has a size of 196 X 270. One shader is used, only the sprite texture changes. Do you need some tweaks or is this a bug? I scaled it up in the graphics editor to 400 x 554 and the distortion is barely noticeable.

Shaders 52
article thumbnail

Annoying feature/bug?

Cocos

Sorry to litter up the forums with a question like this but I couldn’t find anything about it anywhere online… So… I have made some shaders that use time to essentially animate themselves. Unless I click and hold the right mouse button the shader doesn’t move or update in the scene. (I

Bug 40
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

Introducing the Betsy GPU texture compressor

Mircosoft Game Dev

x branch of Ogre aka ogre-next and I wrote Betsy, a GPU texture compressor that runs on GPUs. This work was commissioned by Godot Engine through the Software Freedom Conservancy to solve a major complaint: importing textures is excruciantly slow and takes many minutes. What is texture compression and why you care. ktx A.etc2.ktx

Texture 52
article thumbnail

Custom sky shaders in Godot 4.0

Mircosoft Game Dev

Update (2021-10-28): You can find a documentation page about Sky shaders in the Godot documentation. We aim to change that by introducing sky shaders. Assign a panorama texture to the material and you are all done! It is easy to tweak and update and uses a lightweight shader to avoid consuming GPU resources. Sky Shaders.

Shaders 52
article thumbnail

Dev snapshot: Godot 4.0 beta 8

Mircosoft Game Dev

Import: Fix group reimport bug affecting AtlasTexture ( GH-68324 ). Import: Fix swapped color channels in ETC1/ETC2 textures, etcpak expects BGRA data ( GH-69448 ). Rendering: Implement CAMERA_VISIBLE_LAYERS as built-in shader variable ( GH-67387 ). See the GitHub issue tracker for a list of known bugs in the 4.0

Beta 95
article thumbnail

Dev snapshot: Godot 4.0 beta 16

Mircosoft Game Dev

Those typically shouldn’t add instability to the engine, but may require doing some changes in your scripts, scenes, and shaders if you were using the affected APIs. Rendering: Properly append global uniform buffer name in gl_compatibility shaders ( GH-72138 ). Shaders: Add derivative functions with precision to shaders ( GH-72109 ).

Beta 107
article thumbnail

Migrating from Range Profiler to GPU Trace in Nsight Graphics

Nvidia

The Range Profiler’s pie chart shows instructions executed, per shader stage. GPU Trace can measure total instructions, but a per-shader stage decomposition is only available in the Occupancy chart. On modern GPUs, the L1TEX cache is a combined L1 Data Cache that contains a Load/Store Unit + Texture Unit.