Remove Graphics Remove Render Remove Sprite
article thumbnail

Strategies for Optimizing Multiplayer Games in Unity

Logic Simplified

The Unity Profiler provides tools for detecting issues that affect CPU, GPU, rendering, and memory performance. Rendering Analysis: Monitors draw calls, overdraw, and other performance metrics. Rendering Analysis: Monitors draw calls, overdraw, and other performance metrics.

Games 78
article thumbnail

GLES2 renderer optimization - 2D batching

Mircosoft Game Dev

While Juan ( reduz ) has been busily working on Vulkan, the rest of the rendering team have not been idle. They have been working on many bug fixes and some improvements to the OpenGL rendering in the 3.x Up until now, the GLES2 2D renderer has been drawing primitives (such as rectangles) on an individual basis. How it works.

Render 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

Changing vertexData of a sprite in 2D in cocos creator 3.6.2

Cocos

by converting code from graphics-assembler from CC2.4 but facing one issue depending on the sprite type mesh which is in CC2.4 where there is a function to create render data renderData.createFlexData but I could not find any way to do it in CC3.6. Hello @zhangxm , I was able to modify the vertex data in CC3.6 Since in CC3.6

Sprite 40
article thumbnail

Cocos Shader Tutorial 1.0 - about UV

Cocos

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). _pass = this.node.getComponent(Sprite).material.passes[0]; Among them, U refers to the horizontal axis, V refers to the vertical axis, and the range of UV is 0 to 1. )

Shaders 98
article thumbnail

D2 log 074 – New level format

Catnip Games

The graphics backend rewrite took a while. I export the rendered terrain from Blender as a RGBA image but with alpha value set to depth. However, the situation is now good. Everything is just one big texture. This gives me freedom in level design and saves work making tiles… tileable. So it’s RGBZ.

Terrain 52
article thumbnail

Developer Shares Building Fabrics, Ropes, And Soft Bodies

Cocos

Analysis The whole effect can be split into two parts, one for the simulation of the mesh and one for the rendering of the mesh. Rendering is even more straightforward, just use the Graphic component and draw lines directly. If I can pass this texture in between the direct rendering, then I get a 2D real fabric.

Build 98
article thumbnail

Spine not drawing on new Android Chrome 120

Cocos

and with the recent update of Google Chrome 120 on android I have lost my spine in game, when I launch it on device, or emulator; No graphics at all; other sprites is ok; On chrome v.120 120 Win11 its rendering spines fine. I’m using Cocos Creator 3.7.3 I have tryed update to Cocos 3.8.1

Sprite 40