Remove Alpha Remove Shaders Remove Sprite
article thumbnail

Default sprite shader alpha problem

Cocos

My sprite doesnt look right after given a material, I wanted to achieve a addtive like effect. The source image has smooth alpha gradient. heres what it looks like now! Im a new user and unfortunately I can only post one image. screenshot-20241218-160021|437x273 Im using cocos creator 3.8.3

Alpha 52
article thumbnail

Default sprite shader alpha problem

Cocos

My sprite doesnt look right after given a material, I wanted to achieve a addtive like effect. The source image has smooth alpha gradient.screenshot-20241218-160021|437x273 Im using cocos creator 3.8.3 heres what it looks like now! Im a new user and unfortunately I can only post one image.

Alpha 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

Default sprite shader alpha problem

Cocos

My sprite doesnt look right after given a material, I wanted to achieve a addtive like effect. The source image has smooth alpha gradient.screenshot-20241218-160021|437x273 Im using cocos creator 3.8.3 heres what it looks like now! Im a new user and unfortunately I can only post one image.

Alpha 52
article thumbnail

Default sprite shader alpha problem

Cocos

My sprite doesnt look right after given a material, I wanted to achieve a addtive like effect. The source image has smooth alpha gradient.screenshot-20241218-160021|437x273 Im using cocos creator 3.8.3 heres what it looks like now! Im a new user and unfortunately I can only post one image.

Alpha 52
article thumbnail

[Tutorial]Outer Stroke Effect for 2D Sprites

Cocos

Original: [link] Author: BitByBit Outer Stroke Effect for 2D Sprites Continuing from the previous article Inner Stroke Effect for 2D Sprites Introduction In the last article, we introduced the method of inner stroke and also discussed its pros and cons. aExtend is the expanded Alpha. Here, we take the opposite approach.

Sprite 52
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. Our sprite is 32x32 pixels in size, and it must be drawn at some position.

Shaders 52
article thumbnail

Shader display problem

Cocos

// Copyright (c) 2017-2020 Xiamen Yaji Software Co., 1.0], editor: {type: color} } endColor: { value: [1.0, o.r = o.g = o.b = gray; #endif #if USE_HORIZONTAL o.rgb *= mix(startColor, endColor, vec4(uv0.x)).rgb; rgb; #endif #if USE_VERTICAL o.rgb *= mix(startColor, endColor, vec4(uv0.y)).rgb; 1.0], editor: {type: color} } endColor: { value: [1.0,

Shaders 52