article thumbnail

Sprite Shader Render out of bounds

Cocos

Good evening, I just finished writing my own custom shader to create 2D shadows on sprites, but I can’t find a way to increase the render area of ​​the sprite. The sprite size is 450x450, I created an atlas and used the trim option, this reduced the frame to 156x393. Is there a way to increase the render bounds?

Sprite 52
article thumbnail

Color Change of Sprite Renderer

Cocos

Hi, Is there any way to change color of Sprite Renderer Currently , I am using cocos 3.8. I just want to change sprite color tint in runtime, Or if it is possible to do with 3d material so good to know ,how can I achive that.

Sprite 52
Insiders

Sign Up for our Newsletter

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

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

Dev snapshot: Godot 4.4 beta 3

Mircosoft Game Dev

Animation: Fix incomplete FPS spinbox display in sprite frames editor ( GH-101798 ). Export: Disable Metal and Vulkan renderers in simulator builds. Rendering: 2D: Fix clip children and rendering artefacts ( GH-102161 ). Rendering: Add loop annotations to ubershaders to prevent loop unrolling ( GH-102480 ).

Beta 76
article thumbnail

How to render sprite as tiled in cocos creator?

Cocos

How to render sprite as tiled in cocos creator in c++?

Tile 40
article thumbnail

Color Change of Sprite Renderer

Cocos

SpriteRenderer does not provide an interface to modify the color. You can change it by modifying the material. To modify the material, you need to add color parameters to the corresponding shader. Like this surface-effect.effect.zip (1.2

Render 52
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