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

(2.4.5)Is sprite supported in 3D scene (which the layer order would change depend on the z-index)?

Cocos

If so, is there any settings to change which the render layering becomes the actual 3D (half of the sphere is behind the sprite)? Using cocos creator 2.4.5, Is that my problem? Is that my problem?If

Sprite 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

How to localize multiple languages using the same text texture (bitmap/font atlas)?

Cocos

English, Cyrillic) while using the same texture/atlas for rendering styled text. My goal is to render all supported characters as part of a single texture atlas - not switching fonts per language, to maintain consistent visuals (style, color, effects). using BMFont or another tool)? Any tips, tools, or example projects are welcome!

Texture 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
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 77
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

How to render sprite as tiled in cocos creator?

Cocos

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

Tile 40