Remove Localization Remove Render Remove Sprite
article thumbnail

Strategies for Optimizing Multiplayer Games in Unity

Logic Simplified

The game enables multiplayer gameplay through two options: local mode or server-hosted online mode, allowing players to either connect directly on the same local network or join others via dedicated servers through automatic system pairing. Rendering Analysis: Monitors draw calls, overdraw, and other performance metrics.

Games 78
article thumbnail

Cocos Shader Tutorial 1.0 - about UV

Cocos

Here are the implementation of water wave effects on 2D sprites and 3D meshes: Preview Link The math behind it is simple, the water wave is simulated by the Sin function, and then the fluctuation range is increased in the Update function. _pass = this.node.getComponent(Sprite).material.passes[0]; x,waveFactor.y-uv0.y); _handle = this._pass.getHandle("waveFactor");

Shaders 98
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

Shader Problem in IOS

Cocos

I created a game in which I added a shader; it works fine in web mobile and Android, but in iOS it gives an error during rendering. CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm: line 904 17:49:37 [ERROR]: Sampler binding cc_spriteTexture at set 2 binding 12 is not bounded.

Shaders 40
article thumbnail

[CC 3.7.3] Shader Error?

Cocos

Are you using this material with normal Sprite component ? by default it’s not activated in Sprite component because the commitComp was invoked without any transform data github.com cocos/cocos-engine/blob/develop/cocos/2d/components/sprite.ts#L579-L581 If so, how did you activate USE_LOCAL for it ? _spriteFrame, this._assembler,

Shaders 40
article thumbnail

Shader on IOS error

Cocos

I created a game in which I added a shader; it works fine in web mobile and Android, but in iOS it gives an error during rendering. CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm: line 902 17:39:35 [ERROR]: Sampler binding at set 2 binding 2 is not bounded. t[i] += 1.0;

Shaders 40
article thumbnail

Maintenance release: Godot 3.2.2

Mircosoft Game Dev

2D batching for the GLES2 renderer. While most rendering work was postponed for the 4.0 release with its new Vulkan-based renderer, our contributors lawnjelly and Clay ( clayjohn ) decided to give some more attention to the 3.2 Top: 10,000 Sprites with a randomized modulate and position. Can you spot the difference?

Debug 52
article thumbnail

[Share] 2D Post-Processing & Lighting Framework

Cocos

Post-processing effects, are used for further processing of rendered results to achieve various advanced and special effects. Analysis of 2D Post-Processing Solutions Cocos Creator currently lacks built-in support for post-processing in the 2D render phase, requiring developers to explore various approaches to achieve the rendering goals.

Render 52