article thumbnail

Cocos Shader Tutorial 1.0 - about UV

Cocos

The vertical axes of textures and picture pixels is shown above, when sampling textures in shaders, that is from top to bottom, which is top-right corner. Use UV in Shader Both 2D and 3D shaders in Cocos are obtained in the vertex shader (VS) and passed to the pixel shader (FS). x,waveFactor.y-uv0.y); x,waveFactor.y-uv0.y);

Shaders 98
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Some of the most notables feature changes in this update are: 3D: Switch Mesh surface indexing to start at 0 so string name matches integer index ( GH-70176 ). Editor: Add one-way indicator to tile collision editor ( GH-67283 ). Editor: Improve tile editor selection appearance ( GH-60892 ).

Beta 99
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

Godot Tactics RPG – 01. Intro & Setup

The Liquid Fire

We’re not really doing anything with shaders or post processing in the tutorial, so depending on where you want to take the tutorial later, its really up to you which you choose. In the Scene panel right-click on the Tile node and click Add Child Node. Type in mesh in the search and select MeshInstance3D.

article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Some of the most notables feature changes in this update are: 3D: Switch Mesh surface indexing to start at 0 so string name matches integer index ( GH-70176 ). Editor: Add one-way indicator to tile collision editor ( GH-67283 ). Editor: Improve tile editor selection appearance ( GH-60892 ).

Beta 75
article thumbnail

Dev snapshot: Godot 3.4 beta 4

Mircosoft Game Dev

Mesh: Implement octahedral map normal/tangent attribute compression ( GH-46800 ). Mesh: Options to clean/simplify convex hull generated from mesh ( GH-50328 ). Rendering: Fixes depth sorting of meshes with transparent textures ( GH-50721 ). Shaders: Add support for structs and fragment-to-light varyings ( GH-48075 ).

Beta 52
article thumbnail

Maintenance release: Godot 3.4.1

Mircosoft Game Dev

Import: Fix crash when exporting meshes to glTF that have no skin ( GH-55246 ). Particles: Fix for double use of seed in random shader variables ( GH-55607 ). Rendering: GLES3: Fix incompatible addition in auto exposure shader ( GH-55983 ). Tiles: Fix TileSet editor workspace breaking ( GH-55059 ).

Tile 52
article thumbnail

Dev snapshot: Godot 3.4 beta 3

Mircosoft Game Dev

Mesh: Implement octahedral map normal/tangent attribute compression ( GH-46800 ). Mesh: Options to clean/simplify convex hull generated from mesh ( GH-50328 ). Rendering: Fixes depth sorting of meshes with transparent textures ( GH-50721 ). Shaders: Add support for structs and fragment-to-light varyings ( GH-48075 ).

Beta 52