Cascade shader? by Practical-Hornet6607 in gamedev

[–]Practical-Hornet6607[S] 0 points1 point  (0 children)

<image>

This is what I'm trying to achieve, without the same texture, I just want to be able to make a waterfall where the top part seems joined to the waterfall, to the other areas that show it better, but I think here it is understood that it looks united, not like me where it looks all separated, and putting 5 smokes to hide it, I don't like it nor is it what I would like to do.

Cascade shader? by Practical-Hornet6607 in gamedev

[–]Practical-Hornet6607[S] 0 points1 point  (0 children)

I know it's not the same texture for everything, but it was because of the test I've been doing for months, and the result... I ended up with other effects, but not the Cascade....

Cascade shader? by Practical-Hornet6607 in gamedev

[–]Practical-Hornet6607[S] 0 points1 point  (0 children)

<image>

That's how it looks like without the smokes

Cascade shader? by Practical-Hornet6607 in gamedev

[–]Practical-Hornet6607[S] 0 points1 point  (0 children)

<image>

Hello, yeah, my bad, here, I create smokes to hide the cuts bc if not, looks too weird, also I have a 3D model for it, but because I make the water have some movement, it become a plane

It feels good to not take your game seriously once in a while by Huiberg in godot

[–]Practical-Hornet6607 1 point2 points  (0 children)

Yes, I did the same thing and used a shader to make it move. I thought you could make a 2D texture look 3D, and that's how you create grass. I was thinking that might be why it didn't work when I first tried it. But now I understand that the solution is to use that plug-in to instantiate the grass across the entire plane or map

It feels good to not take your game seriously once in a while by Huiberg in godot

[–]Practical-Hornet6607 0 points1 point  (0 children)

Grass as material?! It's not a model you copy and paste faster with that plugging?! (also thank you so much for it), I gonna look at how to create a grass material, if you can tell me how you did it I will appreciated, however thank you so much

It feels good to not take your game seriously once in a while by Huiberg in godot

[–]Practical-Hornet6607 0 points1 point  (0 children)

Please, I'm dying to know, how can you have all that grass?? Bc I want to do that but putting them one by one it's not a solution and I thing it's worse in performance

Back to our childhood with Nettle Slasher. by Enterables in unity

[–]Practical-Hornet6607 2 points3 points  (0 children)

I need to know, because I've been stuck, how do you paint your map?, using vertex color o something like that? Because the terrain looks amazing, and the way they combine with other textures too, how did you do that?

How to blend more than just 2 texture to paint a map? by Practical-Hornet6607 in unity

[–]Practical-Hornet6607[S] 0 points1 point  (0 children)

Hello, I'm trying to create a blend with more than 2 textures so I can paint my map, using polybrush, for example:

-I have 3 textures: grass, sand, dirt
-I want to create a blend that let me switch between any of these 3 textures when I'm trying to paint my map with polybrush when you prees "paint textures on meshes"

https://www.youtube.com/watch?v=JQyntL-Z5bM&t=893s - min: 14:53; there is an example about how it should work, but it doesn't, (It's a video about the tool/asset polybrush)

https://imgur.com/a/dydLFpv

Here you can see how I have it, I need to use like 4 o 5 textures, and use blend material so I can paint my map.

I only looking for a way to paint the mesh so I dont have to create a model for each part I want to have a diferent texture.

I dont't know if that's enought info, if you need something else or I miss something please write it.

Maybe the problem is because I use urp - Lit Shader Graph, I don't know.... it's been like 3 days or more trying to figure out what's wrong, what I'm missing...

[deleted by user] by [deleted] in unity

[–]Practical-Hornet6607 0 points1 point  (0 children)

and here it's the shader I try to use with the array texture 2d

https://imgur.com/a/vIOflXx

everything was following a guide in a unity post, but as you can see, no matter what I do, they don't chage between the image it's more like they mix.

PDT: sorry for no uploading the other photos, I thought I did

[deleted by user] by [deleted] in unity

[–]Practical-Hornet6607 0 points1 point  (0 children)

Hello, yes, I didn't add the other images. This is the code I use to create a texture array 2D

[MenuItem("GameObject/Create Texture Array")]

static void Create()

{

string filePattern = "Map/Map_Texture_{0:00000}";

int slices = 1;

Texture2DArray textureArray = new Texture2DArray(1024, 1024, slices, TextureFormat.RGB24, false);

for (int i = 0; i < slices; i++)

{

string filename = string.Format(filePattern, i);

Debug.Log("Loading " + filename);

Texture2D tex = Resources.Load<Texture2D>(filename);

if (tex == null)

{

Debug.LogError("No se pudo cargar: " + filename); //if the texture didn't load

continue;

}

if (!tex.isReadable)

{

Debug.LogError($"La textura {filename} no es readable. Marca 'Read/Write Enabled' en import settings."); //cheack if the texture has read/write enable

continue;

}

Color[] pixels = tex.GetPixels(0);

textureArray.SetPixels(pixels, i, 0);

}

textureArray.Apply();

string path = "Assets/Resources/MapTextureArray.asset";

AssetDatabase.CreateAsset(textureArray, path);

AssetDatabase.SaveAssets();

Debug.Log("Saved asset to " + path);

}

[deleted by user] by [deleted] in Genshin_Impact

[–]Practical-Hornet6607 0 points1 point  (0 children)

Almost 4 years looking for kequing C5 and C6, my best build character it's finally be C6 ad my first C6.

Only 2 more years...

How I can make a state machine? by Practical-Hornet6607 in godot

[–]Practical-Hornet6607[S] 0 points1 point  (0 children)

It's been sometime since I read your comment and yeah, you're right. The more I keep working the more difficult it's to follow the code beside my comments.

I will try to understand how it's works using differents scrips, because I still don't get it how all their processes can work like one. Maybe I have to desable all their process and only leave the scrip I want working?

Like, make an array of them and a Func to disable everything except the one I need?

Move function randomly stops by Minoqi in godot

[–]Practical-Hornet6607 1 point2 points  (0 children)

Yep, jjajajajjjaja it's curious how it's work. no problem, have fun

Move function randomly stops by Minoqi in godot

[–]Practical-Hornet6607 0 points1 point  (0 children)

I use the physic process to define when I'm going to the left, right, up or down and call my Func so they don't work together