- Видео 73
- Просмотров 357 827
Kasper Frandsen
Добавлен 12 авг 2008
My channel is mostly used to post videos about game development in FOSS like Godot, Blender and Krita.
If you want to support my work you can join me on Patreon. www.patreon.com/arnklit
If you want to support my work you can join me on Patreon. www.patreon.com/arnklit
Godot Cliff & Rock Pack 1 Teaser
arnklit.itch.io/godot-rock-asset-pack1
www.cgtrader.com/3d-models/exterior/landscape/godot-cliffs-and-rocks-asset-pack-1
arnklit.gumroad.com/l/godotcliffandrockspack1
www.cgtrader.com/3d-models/exterior/landscape/godot-cliffs-and-rocks-asset-pack-1
arnklit.gumroad.com/l/godotcliffandrockspack1
Просмотров: 2 575
Видео
World Normal Mix Shader in Godot
Просмотров 9 тыс.2 года назад
Project: github.com/Arnklit/TutorialResources/tree/main/world_normal_mix_shader Godot 4 version of the shader: github.com/Arnklit/TutorialResources/blob/main/world_normal_mix_shader_4/world_normal_mix_4.gdshader Assets I used: github.com/Arnklit/TutorialResources/issues/2 Note: These are made by me and are CC0, so you can use them as you wish. Software Used: Godot 3.5.1 Consider joining my patr...
Material Maker - Quickie - Stylized Bricks in 21 Nodes
Просмотров 9 тыс.2 года назад
This video is another beginner tutorial for Material Maker. Be sure to watch my Getting Started with Material Maker video first. ruclips.net/video/mSuyrsJSZ_o/видео.html Support Material Maker on Itch.io - rodzill4.github.io Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 1.00 - www.materialmaker.org/ Additional Material Maker resou...
Animated Clouds with Flow Maps in Godot
Просмотров 8 тыс.2 года назад
Project: github.com/Arnklit/godot-flow-map-skybox Software Used: Godot 3.4.3, Krita 5.0.2 Consider joining my patreon: patreon.com/arnklit Join my Discord server: discord.gg/mjGvWwQwv2 0:00 - Intro 0:18 - Download HDRi and set up project 1:14 - Painting the flow map 13:44 - Set up Viewport 15:08 - Writing the Shader 28:23 - Script to assign Viewport Texture 32:00 - Outro Config file for Krita t...
What's New in Material Maker 0 98
Просмотров 2,4 тыс.2 года назад
Support Material Maker on Patreon - www.patreon.com/rodzlabs Support Material Maker on Itch.io - rodzill4.github.io Additional Material Maker resources: Manual - rodzill4.github.io/material-m... Discord Server - discord.gg/PF5V3mFwFM Subreddit - www.reddit.com/r/MaterialMaker/ You can also support me on patreon, I make video about Material Maker and the Godot Engine and also make free add-ons f...
Material Maker - Quickie - Stylized Planks with 22 Nodes
Просмотров 9 тыс.3 года назад
This video is another beginner tutorial for Material Maker. Be sure to watch my Getting Started with Material Maker video first. ruclips.net/video/mSuyrsJSZ_o/видео.html Support Material Maker on Itch.io - rodzill4.github.io Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 0.97 - www.materialmaker.org/ Additional Material Maker resou...
Material Maker Quickie - Red Rocks with 15 Nodes
Просмотров 7 тыс.3 года назад
This video is another beginner tutorial for Material Maker. Be sure to watch my Getting Started with Material Maker video first. ruclips.net/video/mSuyrsJSZ_o/видео.html Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 0.97 - www.materialmaker.org/ Additional Material Maker resources: Manual - rodzill4.github.io/material-m... Discord...
Using Groups and Remotes in Material Maker
Просмотров 3,7 тыс.3 года назад
This video is another beginner tutorial for Material Maker. Be sure to watch my Getting Started with Material Maker video first. ruclips.net/video/mSuyrsJSZ_o/видео.html Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 0.96 - www.materialmaker.org/ Additional Material Maker resources: Manual - rodzill4.github.io/material-m... Discord...
How Good Can I Make Godot Look 2 - The Cellar
Просмотров 16 тыс.3 года назад
Join me on Patreon: www.patreon.com/arnklit Join my discord: discord.gg/mjGvWwQwv2 github.com/Arnklit/godot_cellar github.com/Arnklit/godot_cellar_art GDC talk on Modular Level Design: ruclips.net/video/QBAM27YbKZg/видео.html Wojtek's video on making nature scenes in Godot: ruclips.net/video/0bgw7crtOcQ/видео.html Tutorials I watched to make this scene: Used for making the wood props, I ofcours...
How Good Can I Make Godot Look 2 - Cellar - Preview
Просмотров 3,9 тыс.3 года назад
So I've finished up another scene in Godot. This time a medieval cellar. Here is a little preview of it. Hopefully I'll find the time to record a breakdown of it in the next few days. I'll also be releasing the scene and all the assets on github as I did with the desert scene. All the assets are made in Blender and textured in Material Maker. I ended up sticking with Godot 3.3 for this scene as...
How Good Can I Make Godot Look - Desert
Просмотров 22 тыс.3 года назад
Join me on Patreon: patreon.com/arnklit Join my discord: discord.gg/mjGvWwQwv2 I hope this will be the first in a series of 3D test scenes to test mine and Godot's graphical capabilities. Feel free to grab the project and play around with it. All the assets are CC0 licensed by me. Project Repository: github.com/Arnklit/godot_desert Art Repository: github.com/Arnklit/godot_desert_art Intro - 0:0...
Using Fill Nodes in Material Maker
Просмотров 5 тыс.3 года назад
This video is another beginner tutorial for Material Maker. Be sure to watch my Getting Started with Material Maker video first. ruclips.net/video/mSuyrsJSZ_o/видео.html Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 0.95 - www.materialmaker.org/ Additional Material Maker resources: Manual - rodzill4.github.io/material-m... Discord...
Using Transform Nodes in Material Maker
Просмотров 9 тыс.3 года назад
This video is another beginner tutorial for Material Maker. Be sure to watch my in Getting Started with Material Maker video first. ruclips.net/video/mSuyrsJSZ_o/видео.html Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 0.94 - www.materialmaker.org/ Additional Material Maker resources: Manual - rodzill4.github.io/material-maker/doc...
Rain Drop Shader in Godot 3.2.3
Просмотров 4,7 тыс.3 года назад
Join me on Patreon - patreon.com/arnklit Join my discord - discord.gg/mjGvWwQwv2 Software Used: Material Maker 0.94 - www.materialmaker.org/ Godot 3.2.4.rc3 - godotengine.org/ Project: github.com/Arnklit/TutorialResources/tree/main/rain_drops Direct Link to Shader: github.com/Arnklit/TutorialResources/blob/main/rain_drops/raindrops.shader Direct Link to Texture: github.com/Arnklit/TutorialReso...
Getting Started with Material Maker 0.94
Просмотров 79 тыс.3 года назад
Getting Started with Material Maker 0.94
Waterways 0.2.0 Released - New Features
Просмотров 1,8 тыс.3 года назад
Waterways 0.2.0 Released - New Features
Waterways 0.2.0 WIP floating objects and wet maps
Просмотров 1,4 тыс.3 года назад
Waterways 0.2.0 WIP floating objects and wet maps
Waterways 0.2.0 WIP better foam and flow
Просмотров 9384 года назад
Waterways 0.2.0 WIP better foam and flow
Waterways Add-on for Godot 0.1.0 Released - Feature Overview
Просмотров 13 тыс.4 года назад
Waterways Add-on for Godot 0.1.0 Released - Feature Overview
Waterways Demo Scene WIP (river generation tool for Godot)
Просмотров 1,3 тыс.4 года назад
Waterways Demo Scene WIP (river generation tool for Godot)
Tiling and Random Rotation Shader in Godot 3.2.3
Просмотров 4,2 тыс.4 года назад
Tiling and Random Rotation Shader in Godot 3.2.3
Godot River Add-on WIP 3 - New Curve system and functional texture baking
Просмотров 2,3 тыс.4 года назад
Godot River Add-on WIP 3 - New Curve system and functional texture baking
Godot River Add-on WIP 2 - Getting closer. Flowmaps and Foam
Просмотров 1,4 тыс.4 года назад
Godot River Add-on WIP 2 - Getting closer. Flowmaps and Foam
Shell Fur for Godot version 0.1.1 is out. The demo scene now runs on Android
Просмотров 9434 года назад
Shell Fur for Godot version 0.1.1 is out. The demo scene now runs on Android
30th? attempt at my Godot fur on Android. Beginning to look promising
Просмотров 5854 года назад
30th? attempt at my Godot fur on Android. Beginning to look promising
thanks
Thank you so much for this tutorial! I was trying to sculpt my game map in Blender at first but didn't even consider Godot plugins. This has made the process so much easier!
Awesome videos! I've followed along the whole series, learned a lot on the tool and filled my user library with handy filters and nodes along the way. Thanks for putting together this tutorial!
My player is a scene in my game and I dont want to have the player scene in this grass scene , how can i make the grass interactive then?
@@Luciferatw0rk you can have the player find the grass object based on a group instead or have the script on the grass and have it find your player object to make the reference.
Add the player in a singleton and reference it ex: GlobalSettings.player. In your player scene set your player as GlobalSettings.player = self. Then you can reference it where ever
Any idea how to get a NavigationRegion3D work on an HTerrain?
Hi, Is there a guide on how to migrate to material maker from substance designer? I make stylized materials. I want to imitate the brush strokes from painterly Ghibli anime-style drawings and mainly make stylized materials. Can you give me a guide? In substance designerthere are few nodes that you can add to make the stylization. I wonder what those nodes are called in material maker.
Are you going to port Waterways to the current stable version of Godot (4.3)? Thank you
This really helped me figure out the basics of 2d flow maps, thanks Kasper. Any idea if a modified approach is feasible for subviewports in 4.3?
Pretty sure it works in 4.x now. When I did this video viewports didn't support HDR in 4.x, but I think they do now.
Hello Can you tell me How can I make tileable noise texture ? Is it just link noise node to make tileable node?
all the noise nodes are tileable by default, so if you export any of them from the 2D preview you will get out a tileable noise.
subbed
great.... but you may need a better mic...
hello i need my game to make glass so how do you make it
Oh my god. You explain blender shortcuts horrendously. I can’t even follow what you’re saying. Why..?
Lol thanks. What a nice and constructive comment! If only I had enabled an addon that shows all the shortcuts I use on screen as well, maybe that would have helped.
@@KasperFrandsen suggestion: pace your videos slower so I don’t have to rewind, also: you need to *say* the shortcuts, cuz nobody wants to rewind
This was really useful. Thanks a lot!
Does this include an "under water" shader/mesh?
no. that was / is planned, but I never got around to it.
@@KasperFrandsen any future plans and maybe an extension to do oceans?
@@DarinLawsonHosking Yes. It's always been my itension to revisit this and make it more feature complete with branching rivers, lakes and eventually oceans. It's just been a lack of time and energy that has caused the project to somewhat stall.
This tutorial is gold ty so much!
Fantastic video! I'm curious if there's a method to perform the matrix transformation in local space. This way, when I rotate the object, the mask adjusts accordingly with the rotation. For instance, if I rotate a cube by 45°, the mask would consistently target the same side of the cube for cutting out.
Thanks, happy you liked it. Yes that should work perfectly fine and actually be slightly simpler.
Great video man, gonna try to make some better leaves for my trees using these techniques
For some reason when I try to paint grass nothing shows up
You could upload this to the material maker asset library 👀
Should be there already :). www.materialmaker.org/material?id=533
What's your criteria for visual vs written shaders? Do you always start visual? If so, when is it time for you to make it written or visa versa?
Most of my shaders are written these days. Once in a while I start out with a visual shader if I'm trying somthing out where I feel visualising it in a node tree will allow me to wrap my head around it more easily. The reason I do visual shaders in my tutorials is mostly for the benefit of people learning shaders who may not be compfortable with written shaders.
This series is seriously amazing, and I am just at ep 2 here. Thank you for taking your time for this!
how can you stop it stretching
Sorry I'm not sure what you mean.
@@KasperFrandsen the texture stretches when I try Import it
@@Sirlopsteropster I'm sorry but that is still not enough context, what are you trying to import the textures into? Could you maybe jump on the discord and post the question there with some screenshots?
@@KasperFrandsen sorry Im trying to Import to godot thanks I have it sorted sorry for the waste of your time.
@@Sirlopsteropster No worries. Happy you got it working.
고마우
can we do this with 3 textures ?
Yea. But you would probably mix based on a splat map or vertex colors in that case
So usefull
I'm trying to do this in 2D but it looks weird
training to rotate a fast noise in godot 4 to add variant to multiple plains called from the same sample, but i thinc thers somthing mising.
first of all i cant get the tailing worcking.
The "Blend" node here seems to no longer exist in 1.3? Or if it does exist, it's working with reversed inputs for source 1/2 - I had to slot mine upside down to achieve the result you had
Yes the blend node got inverted due to the variadic system that got added in which allows you to do many layers of blending with a single blend node.
can't figure out how to make it so that my character doesn't fall through this terrain
for those of you who want to make the shader textures triplanar: shader_type spatial; uniform float offset : hint_range(-1.0, 1.0) = 0.5; uniform float fade : hint_range(0.0, 1.0) = 0.1; uniform vec3 uv_scale_fg = vec3(1.0); uniform vec3 uv_scale_bg = vec3(1.0); uniform sampler2D albedo_texture_fg : source_color; uniform sampler2D normal_texture_fg : hint_normal; uniform sampler2D albedo_texture_bg : source_color; uniform sampler2D normal_texture_bg : hint_normal; uniform float metallic_fg : hint_range(0.0, 1.0) = 0.5; uniform float roughness_fg : hint_range(0.0, 1.0) = 0.5; uniform float specular_fg : hint_range(0.0, 1.0) = 0.5; uniform float metallic_bg : hint_range(0.0, 1.0) = 0.5; uniform float roughness_bg : hint_range(0.0, 1.0) = 0.5; uniform float specular_bg : hint_range(0.0, 1.0) = 0.5; varying vec3 my_pos; varying vec3 my_normal; void vertex(){ my_pos = (MODEL_MATRIX*vec4(VERTEX,1.0)).xyz; my_normal = abs(normalize(MODEL_NORMAL_MATRIX * NORMAL)); } void fragment() { vec2 fg_uv = mix(my_pos.xy, my_pos.zy, round(my_normal.x)); fg_uv = mix(fg_uv, my_pos.xz, round(my_normal.y)); vec2 bg_uv = mix(my_pos.xy, my_pos.zy, round(my_normal.x)); bg_uv = mix(fg_uv, my_pos.xz, round(my_normal.y)); vec3 albedo_tex_fg = texture(albedo_texture_fg, fg_uv * uv_scale_fg.xy).rgb; vec3 normal_tex_fg = texture(normal_texture_fg, fg_uv * uv_scale_fg.xy ).rgb; vec3 albedo_tex_bg = texture(albedo_texture_bg, bg_uv * uv_scale_bg.xy).rgb; vec3 normal_tex_bg = texture(normal_texture_bg, bg_uv * uv_scale_bg.xy).rgb; vec3 bg_normal = normal_tex_bg * 2.0 - 1.0; bg_normal.z = sqrt(1.0 - bg_normal.x * bg_normal.x - bg_normal.y * bg_normal.y); vec3 normal_applied = bg_normal.x * TANGENT + bg_normal.y * BINORMAL + bg_normal.z * NORMAL; vec3 up_vector_viewspace = mat3(VIEW_MATRIX) * vec3(0.0, 1.0, 0.0); float dot_product = dot(up_vector_viewspace, normal_applied); float mask = smoothstep(offset - fade, offset + fade, dot_product); ALBEDO = mix(albedo_tex_bg, albedo_tex_fg, mask); METALLIC = mix(metallic_bg, metallic_fg, mask); ROUGHNESS = mix(roughness_bg, roughness_fg, mask); SPECULAR = mix(specular_bg, specular_fg, mask); NORMAL_MAP = mix(normal_tex_bg, normal_tex_fg, mask); }
Hello, I've a problem. Everything other is working, but I can't paint grass. I've done everything like you. But when I paint grass, it doesn't appears on the floor. No matter how I change scale. I used your 2D grass texture. And I am using Godot 4 latest.
Finally, something actually useful! Would be great if you could add some wind to the grass. Thank you!
When ever I'm using the brush if I use it in a specific location of terain after moving the brush to other locations the starter height get erase automatically please help 😞😭
Hi, not really sure I can help much. Sounds like it might be a bug or something specific to your setup. Best thing to do is to jump on the Godot discord and post about it in the addons channel or log a bug on the repository.
This is excellent! In real life, grass doesn't snap straight up when you stop stepping on it. How could this be mimicked in the shader? Thanks again!
Thanks. The best way I know of doing that is using a render texture. you write to the texture whenevery something touches the grass and then you constantly fade out the texture to the grass straightens again after being bent. Here is a test I made with that. it also allows for many characters / objects to interact with the grass. twitter.com/KasperArnklit/status/1614901107171667968
That looks so good, and thanks for the quick reply! This looks a bit out of my skillset, but I'd love to learn how to do this someday!
this is outdates af, blend nodes are not the same, the soft crashes too...
Hi Kasper. Is there a reason why you don't just plug the raw TIME directly into the flow as a multiplier? This crossfade trick, as you've noticed, creates a bit of ghosting. It feels a bit nauseous. I wonder if the clouds shouldn't just travel around forever, until they loop back (edit: how flowmaps are used for rivers, so the clouds would be treated like a river as well).
Hi, sorry I should have made that clearer, you can only slighly distort UVs with flowmaps before they become a warped mess and the texture stops looking like clouds at all. If you offsets UVs in a single axis you can loop them all the way around, but you can't with flowmaps.
Really amazing
Great Tutorial Thank You!
Excellent tutorial! Thank you for taking your time to explain this awesome tool
And how do I add tree meshes?
Is it possible to make it as canvas item for tilemap?
Should work fine for a canvas item shader. I don't really know much about how shaders work in tilemaps, since I don't do a lot of 2D.
If i could ask, do you know maybe how to convert spatial shader to canvas item one becauose changing only shader_type throws error: unknown identifier in expression: ALBEDO. This is why i was asking if it is possible to use it somehow as canvas item.
For this shader, I think it's just that instead of setting the RGB color to the ALBEDO and the transparency to the ALPHA in a Spatial shader, you would instead set all those four values to the COLOR.
@@KasperFrandsen I have managed to do it somehow. Thanks
What should I do if I want to control the direction~~Thanks~~
The direction is controlled by using a shape key, you can see details about it on the github page.
the grass feature is hella buggy afaf
dude, I can't thank you enough
Esta es una de las cosas más espectaculares que he visto en mucho tiempo 😮
Sqrt in a shader is considered expensive right? Is there a way around that? Maybe by packing the Z component of the normal map into an unused channel of another texture?
You can set the normal texture to High Quality in the import setting and it won't strip the blue channel if you want to avoid recalculating it. Though I'm pretty sure the performance cost of sqrt is a bit overstated.
this is wonderful, exactly what i was looking for to texture mountains
I added a godot 4 version of the project to the tutorial resources repository. github.com/Arnklit/TutorialResources/tree/main/grass_interact_4 You should also be perfectly fine to follow along in Godot 4 with this in mind: You need to use "model_matrix" the two places where I use "world_matrix" as the name of that matrix was renamed. The script that sends the position to the shader, needs to say "@tool", instead of just "tool" at the top in Godot 4. And when you set the player position in the script, the line needs to be "get_parent().get_parent().get_node("Grass").material_override.set_shader_parameter("player_pos", global_transform.origin)".
Just an FYI you didn’t update the ‘param’ to ‘parameter’ in the godot4 docs. but with that said, thanks so much for making this…incredible work and I’ll be using it in my game.
oh weird. I'll fix that tomorrow if I remember :P
black screen... (Godot 4.2.2 stable) : (
@@foixa you need to add global lights to the project and a Camera3d
Wow Awesome! Does this work on godot 4.x?
Not right now. I'm actually back to working on getting this and my fur addon working in Godot 4 this week, so hopefully they will be working soon.