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 problem is that the shader does not render outside these limits, even though the original area was 450x450. Is there a way to increase the render bounds?

Sprite 52
article thumbnail

Request for better shader documentation

Cocos

Shaders are virtually missing from the documentation. I am posting this as a request for Cocos to have somebody on the team, a technical artist preferably, to write up the shaders documentation, with sample codes important. The section on shaders is incomplete, therefore its unusable. However there is a major issue.

Shaders 40
Insiders

Sign Up for our Newsletter

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

article thumbnail

Cocos Creator 3.8 Post-Effects Shader Writing (1/2) Basics

Cocos

This article is part of a two-part series by Kylin, the ecological director at Cocos. In Cocos Creator version 3.8, several useful features have been added, and one of my favorites is that it comes with its own post-effects pipeline and a number of advanced effects built in. There’s FSR, ColorGrading, and Bloom for enhanced graphics.

Writing 98
article thumbnail

How to write Shaders in Unity using HLSL

Febucci

Shaders are used to create many effects, like “water”, “fire” and more. Shaders Theory. Now that we’ve scratched the topic of meshes, we can finally talk about shader. Shaders are programs that describe the traits of vertices and pixels. is read from the computer and is passed to the Vertex Shader. Shader Example.

Shaders 52
article thumbnail

Creating a See-Through | X-Ray Effect In Unity – Shader Tutorial

Awesome Tuts

What Is a Shader? Since the main premise of this effect is going to be a shader, we’ll start with explaining what a shader is. A shader is a script where you write code that determines how the colors will be rendered based on various scenarios like lighting and material configuration.

Shaders 90
article thumbnail

Dev snapshot: Godot 4.4 beta 1

Mircosoft Game Dev

Breaking changes Animation Audio C# Core Editor GDScript Import Input Physics Platforms Rendering and shaders XR New in Beta 1! Add 2D shader instance uniforms Previously, Godot only supported shader instance uniforms in Spatial shaders. Highlights Many features originally intended for 4.3 ended up making it into 4.4

Beta 106
article thumbnail

Making shaders more accessible

Mircosoft Game Dev

About shaders. For most game developers, shaders are this scary monster that presents itself with such a complexity that it seems out of reach. In reality, shaders are quite simple by default and just get more complex the more you add to them. The following OpenGL code sends the sprite to the shader for drawing: OpenGL Commands.

Shaders 52