Тёмный

How to BAKE AMBIENT OCCLUSION MAPS in Blender 

UnrealMatter
Подписаться 3,9 тыс.
Просмотров 54 тыс.
50% 1

Hey guys,
In this tutorial I will show you how to bake ambient occlusion maps in Blender. This is extremely helpful to get better shadows on your 3D assets and make them look more 3 dimensional.
BuyMeACoffee:
www.buymeacoff...
Unreal Engine:
www.unrealengi...
Blender:
www.blender.or...
Patreon:
/ unrealmatter
Thanks for watching!

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 81   
@driveri1435
@driveri1435 11 месяцев назад
I'm not going to lie. Out of all of the videos I've seen, yours was the best one. Very clear and direct without missing any steps. Thank you for this amazing video.
@UnrealMatter
@UnrealMatter 11 месяцев назад
Thank you so much, it means a lot to me when my viewers like the content. :)
@user-bz8lz7sx1z
@user-bz8lz7sx1z 7 месяцев назад
dude ive been trying to find ao mapping tutorials and all others were BS. thank you for making a legit tutorial with straight forward steps
@UnrealMatter
@UnrealMatter 7 месяцев назад
Thank you so much for your comment :) I really like to see when people are happy with the tutorials
@user-bz8lz7sx1z
@user-bz8lz7sx1z 7 месяцев назад
@@UnrealMatter no problem dude , your a freaking life saver
@queworldwow6262
@queworldwow6262 Год назад
Thank you so much! Finally I can understand how and for what they're made
@UnrealMatter
@UnrealMatter Год назад
You're welcome my friend :)
@HipBlooD
@HipBlooD 2 месяца назад
Great Tutorial and exactly what i was looking for. Thank you!
@UnrealMatter
@UnrealMatter 2 месяца назад
You're welcome! :)
@taddidio3215
@taddidio3215 Год назад
Great tutorial, fast and to the point
@UnrealMatter
@UnrealMatter Год назад
Thank you
@Katy133
@Katy133 24 дня назад
Thank you for this tutorial, it was just what I needed.
@UnrealMatter
@UnrealMatter 24 дня назад
@@Katy133 You're welcome :)
@123forafurry
@123forafurry Год назад
Thank you this was way better than the other ones I saw
@UnrealMatter
@UnrealMatter Год назад
You're welcome!
@cesarlorenzon2708
@cesarlorenzon2708 2 месяца назад
Thanks! Was very easy with this tutorial
@UnrealMatter
@UnrealMatter 2 месяца назад
You're welcome! Thank you for commenting :)
@youshimimi
@youshimimi 11 месяцев назад
Easy to follow and very helpful. Thank you!
@UnrealMatter
@UnrealMatter 11 месяцев назад
You're welcome :)
@jordanepellerin6684
@jordanepellerin6684 Год назад
you are awesome dude ! :)
@UnrealMatter
@UnrealMatter Год назад
Thank you so much, I really appreciate your comment :)
@doctorfear9241
@doctorfear9241 Год назад
thanks a lot man, helped me very much
@UnrealMatter
@UnrealMatter Год назад
You're welcome :)
@momoguyz7150
@momoguyz7150 Год назад
thanks this was really helpful
@UnrealMatter
@UnrealMatter Год назад
You're welcome :)
@MLL-oh3lx
@MLL-oh3lx Год назад
Thanks for you awesome guiding
@UnrealMatter
@UnrealMatter Год назад
You're welcome. I really appreciate your comment :)
@enriquefuster4971
@enriquefuster4971 10 месяцев назад
Thanks man. Super usefull.
@UnrealMatter
@UnrealMatter 10 месяцев назад
You're welcome :)
@dianatevanian5618
@dianatevanian5618 Год назад
Thank you so much!
@UnrealMatter
@UnrealMatter Год назад
You're welcome, thanks for the comment :)
@Shadow-zx4ly
@Shadow-zx4ly 4 месяца назад
thanks for your help 😀😀😀
@UnrealMatter
@UnrealMatter 4 месяца назад
You're welcome! :)
@friendlyreptilian3767
@friendlyreptilian3767 Год назад
super thx!
@UnrealMatter
@UnrealMatter Год назад
You're welcome
@Sigouss
@Sigouss 3 дня назад
one question. I set GPU compute, but in tasks manager i se CPU loaded 100% instead of GPU? Have 10700f & 3080 10gb
@UnrealMatter
@UnrealMatter 3 дня назад
@@Sigouss Set your scene to GPU compute. Then before rendering set your scene to wireframe mode. And also use CUDA. The scene preview uses CPU, thats why you could have high cpu usage. Setting the scene to wireframe before rendering also lowers render times a lot. Hope that helps :)
@justjoe7517
@justjoe7517 Год назад
Thanks man.
@UnrealMatter
@UnrealMatter Год назад
You're welcome :)
@dianatevanian5618
@dianatevanian5618 Год назад
Such a simple video, thank you once again! I can't export GLB file with mixRGB node. Maybe you have any suggestions on that? Thank you!
@UnrealMatter
@UnrealMatter Год назад
Hey, thank you for your comment. I just tried it in Blender 3.4.0 and it works. I have never exportes as .glb. I'm sorry but I don't know why it doesn't work. Maybe because it is a node that is only available in Blender?
@astralstormgamestudios1259
@astralstormgamestudios1259 5 месяцев назад
nice!
@UnrealMatter
@UnrealMatter 5 месяцев назад
Thank you!!
@JetBomb12
@JetBomb12 Год назад
Thanks for the tutorial, I have a question what if i already had ambient occlusion that had noise texture plugged into it how do i preserve the noise texture? or do i just add it after i bake
@UnrealMatter
@UnrealMatter Год назад
You can keep the noise texture. Make sure you have a mapping and texture coordinate node that go into the noise. You can do that by activating "node wrangler" in the addons and pressing ctrl+t on the noise node. Then you can set your bake type to AO and bake the principled BSDF or set it to diffuse and only bake a diffuse BSDF with the AO setup. You can choose what you like the most. But everything should give the same result.
@ElvenBubblegum
@ElvenBubblegum 11 месяцев назад
Thanks for the guide! Is there a way to increase detail? My AO looks kinda shit because its not detailed enough and you can see the dots
@UnrealMatter
@UnrealMatter 11 месяцев назад
You're welcome! Make sure your model doesn't have duplicate vertices, all normal have the right direction and you need to have your model unwrapped with a 0.05 island margin so the uv edges don't overlap. Then try to increase your texture size if you are using something small. Also increase the overall render samples. Make sure there aren't any other objects around the one your baking because these will have an influence on the bake. Normally you should have a very clean bake with this method. Otherwise plug a diffuse bsdf in the material output and with a mix node multiply a pure white color with an ambient occlusion node (increase the samples to a high vale) and set the bake type to diffuse instead of ambient occlusion. Then see which bake method is bettter
@ElvenBubblegum
@ElvenBubblegum 11 месяцев назад
@@UnrealMatter Thank you for the answer! I'll try it out!
@theologicaldarkweb2695
@theologicaldarkweb2695 11 месяцев назад
How many samples did you use? Did you adjust the distance or intensity?
@UnrealMatter
@UnrealMatter 11 месяцев назад
I don't quite understand because I didn't use the Ambient Occlusion node in this process. I just set the bake type to ambient occlusion. Another way would be to get a diffuse bsdf and multiply a pure white color with an Ambient Occlusion node and then set the bake type to diffuse and bake. If this is what you mean I would leave the samples of the AO at 16 and the distance at 1
@theologicaldarkweb2695
@theologicaldarkweb2695 11 месяцев назад
I think I figured out a settings that worked. Thanks!@@UnrealMatter
@larnus2548
@larnus2548 21 день назад
Man mine is allmost completely black. What did I do wrong?
@UnrealMatter
@UnrealMatter 21 день назад
@@larnus2548 Hello, make sure your normals are displayed correctly. You can do this by going to edit mode. Then mesh -> normals -> recalculate outside. Then make sure you got no duplicate vertices. You can do this by going to edit mode and then pressing A -> M -> merge by distance. Then you have to make sure you got a good UV map. With these steps and if you followed the video correctly you should get a clean ao map :)
@sillex0
@sillex0 Год назад
Thank you for the great video. But I have a problem. My ambient occlusion is not pretty. The shades are pixelated. How can I change this? I would appreciate an answer.
@UnrealMatter
@UnrealMatter Год назад
This can be due to multiple reasons. 1. Check the resolution of your texture and make it at least 512 by 512. 2. Your model has to have good geometry, no overlapping faces/intersecting edges and it should be unwrapped with no overlapping UV's. 3. Make sure you don't bake the direct lighting. 4. Increase your light paths count and sample count
@sillex0
@sillex0 Год назад
@@UnrealMatter ty for your answer :). What Do you mean with light pats? Sry..Englisch is not my first language. And is it possible that my Computer is to old for this, to make the texture nice and clear?
@UnrealMatter
@UnrealMatter Год назад
@@sillex0 No it is not about the computer, every computer gives the same output, just with different render times. There is a setting called light paths, it is in the Render Options Tab. Try to increase those values
@sillex0
@sillex0 Год назад
@@UnrealMatter ty, i will try that :)
@sillex0
@sillex0 Год назад
@@UnrealMatter I've tried everything that's in light path one by one, but nothing changes. I saw that the object itself is also a bit pixelated. :/
@prime-workshop-bd
@prime-workshop-bd 5 месяцев назад
How can i export this texture ?
@UnrealMatter
@UnrealMatter 5 месяцев назад
You can bake the Ambient Occlusion as a diffuse. I made a tutorial on baking if you need some help :)
@prime-workshop-bd
@prime-workshop-bd 5 месяцев назад
​@@UnrealMatter yes brother, please make a tutorial about that, ami new in blender
@UnrealMatter
@UnrealMatter 5 месяцев назад
@@prime-workshop-bd I already made one. You can find it on my channel! :)
@prime-workshop-bd
@prime-workshop-bd 5 месяцев назад
@@UnrealMatter I can't find the video. It would be great if you could give the video link
@UnrealMatter
@UnrealMatter 5 месяцев назад
@@prime-workshop-bd ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ChxGAcKO92Y.htmlsi=ipdmGlrK30qvwyxj
@designaxes7554
@designaxes7554 2 месяца назад
Does it work on evee?
@UnrealMatter
@UnrealMatter 2 месяца назад
Hello, Eevee has built in ambient occlusion for the whole scene which you can activate. In Eevee you can't bake the ambient occlusion itself since eevee doesn't have the bake option. What you can do is bake your map in cycles and then use it in eevee :)
@designaxes7554
@designaxes7554 2 месяца назад
@@UnrealMatter thank you🙂
@capitanstyx9998
@capitanstyx9998 8 месяцев назад
i have an error"Baking map saved to internal image, save it externally or pack it"
@UnrealMatter
@UnrealMatter 8 месяцев назад
This is not an error, it means the baked image is only temporarily saved and when you close blender it will get deleted. The message only recommends you save the image on your hard drive :)
@capitanstyx9998
@capitanstyx9998 8 месяцев назад
@@UnrealMatter thanks alot, it's very strange because I don't see any changes in the image itself, it's still just black
@UnrealMatter
@UnrealMatter 8 месяцев назад
@@capitanstyx9998 If its black then you maybe did not select the image when baking, the node has to be active (clicked on) to be properly baked. Also maybe you forgot to save it instantly and then it can turn black because the data will be deleted as i said. Hope this helps
@capitanstyx9998
@capitanstyx9998 8 месяцев назад
@@UnrealMatter I wrote the code in Python, but that doesn’t help either, thanks anyway, I’ll leave the code here (you just need to configure the rendering before applying the code) import bpy obj = bpy.data.objects.get("Cube.001") bpy.context.view_layer.objects.active = obj bpy.ops.object.mode_set(mode='OBJECT') if not obj.data.materials: mat = bpy.data.materials.new(name="AO_Material") obj.data.materials.append(mat) else: mat = obj.data.materials[0] ao_texture = mat.node_tree.nodes.get("AO_Texture") if not ao_texture: ao_texture = mat.node_tree.nodes.new(type='ShaderNodeTexImage') ao_texture.name = "AO_Texture" ao_texture.location = (0, 0) image_texture = bpy.data.images.new(name="Untitled", width=1024, height=1024) ao_texture.image = image_texture bpy.ops.object.bake('INVOKE_DEFAULT', type='DIFFUSE') image_texture.filepath_raw = "//Untitled.png" image_texture.save() print("Ambient Occlusion baked and saved to Untitled.png")
@snookofficial7211
@snookofficial7211 8 месяцев назад
Is it possible to export the map so it can be used else where?
@UnrealMatter
@UnrealMatter 8 месяцев назад
Yeah, you can just save it, for example in the UV Editing Tab :)
@simonlu5141
@simonlu5141 Год назад
Did you have to select high to low or did you just bake of the low poly model?
@UnrealMatter
@UnrealMatter Год назад
Hello, you don't have to bake selected to active. This is the method with only one model.
@tropical2173
@tropical2173 Год назад
There is no Mix RBG anymore. for me only apears Mix or Mix Shaders, what can i do?
@UnrealMatter
@UnrealMatter Год назад
It's the Mix Node. From there you can select Math or Color. You need to choose color :)
Далее
Texture Baking for Beginners (Blender Tutorial)
25:27
Просмотров 148 тыс.
Blender how to Reduce Poly Count and Bake Textures
8:06
How to Bake Roughness Maps (Blender Tutorial)
8:23
Просмотров 21 тыс.
Parallax Occlusion Mapping in Blender // Tutorial
11:09
Ambient Occlusion Bake / AO Map | Blender 2.9
7:09
Просмотров 49 тыс.