[SOLVED] How do you correctly make a UI shadow? [Blender 3.4]
- xXCARL1992Xx
- Posts: 16461
- Joined: 17 Aug 2016 12:18
- Contact:
Re: How do you correctly make a UI shadow? [Blender 3.4]
i set it to 3 for my bakes, 0 can also work
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
[ external image ]
Re: How do you correctly make a UI shadow? [Blender 3.4]
@xXCARL1992Xx Hmm, even with it set to 3, I still get the same result. And, as usual, trying to adjust the brightness and contrast doesn't make a difference after applying Color to Alpha.
[ external image ]
[ external image ]
Last edited by ChiliBeef on 31 Dec 2022 16:29, edited 1 time in total.
You can write almost any way you want, and you might make yourself understood.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
- xXCARL1992Xx
- Posts: 16461
- Joined: 17 Aug 2016 12:18
- Contact:
Re: How do you correctly make a UI shadow? [Blender 3.4]
hm, can you send me the image you get after you bake it in blender ?
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
[ external image ]
-
- Posts: 802
- Joined: 30 Jul 2017 18:09
- Contact:
Re: How do you correctly make a UI shadow? [Blender 3.4]
get the shadow plane out of the wheels when baking.
u need these 2 settings. 1 is quality, the other is shadow distance.
[ external image ]
these 2 setting are 100% completely and utterly irrelevant for UI shadow. (but do matter for everything else)Adjacent Faces and 16 px
u need these 2 settings. 1 is quality, the other is shadow distance.
[ external image ]
Re: How do you correctly make a UI shadow? [Blender 3.4]
@overfloater Actually, I found that @xXCARL1992Xx's settings produced a very slight difference in darkness on the shadow.
Overfloater's settings on the left, Carl's on the right.
[ external image ]
Overfloater's settings on the left, Carl's on the right.
[ external image ]
You can write almost any way you want, and you might make yourself understood.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
-
- Posts: 802
- Joined: 30 Jul 2017 18:09
- Contact:
Re: [SOLVED] How do you correctly make a UI shadow? [Blender 3.4]
Whatever difference you saw, it was not due to Margin settings. "Margin" draws pixels around the uv islands. Irrelevant here because you have a single island that takes up the entire texture.
Also, an error on my part.
i did not mean set samples strictly to 400, and distance strictly to 0.3m. That was to point out that *those* are the parameters you need to tweak, in this scenario.
You pointed out these issues:
1. black rectangles - its caused by the wheels clipping into the plane. Get the wheels out of the plane when baking.
2. tint (not 100% transparent) - AO distance too big. Decrease it. Measure how far the mesh is from the edge of the shadow plane, and set the AO distance to less than that.
Also, an error on my part.
i did not mean set samples strictly to 400, and distance strictly to 0.3m. That was to point out that *those* are the parameters you need to tweak, in this scenario.
You pointed out these issues:
1. black rectangles - its caused by the wheels clipping into the plane. Get the wheels out of the plane when baking.
2. tint (not 100% transparent) - AO distance too big. Decrease it. Measure how far the mesh is from the edge of the shadow plane, and set the AO distance to less than that.
Re: [SOLVED] How do you correctly make a UI shadow? [Blender 3.4]
@overfloater I think you misunderstood when I said "settings". I was referring to what you also showed in the screenshot (which shows samples and AO Distance), along with moving the plane under the tires so that they would not clip.
And, you're confusing me with #2. By "tint", do you mean how you could see the border of the ui_shadow texture compared to the rest of the scene? That was fixed after Carl told me what settings to use with Color to Alpha in GIMP. And, what do you mean by, "Measure how far the mesh is from the edge of the shadow plane" ? The mesh and the shadow plane are the same thing, so I don't know what you're referring to.
And, you're confusing me with #2. By "tint", do you mean how you could see the border of the ui_shadow texture compared to the rest of the scene? That was fixed after Carl told me what settings to use with Color to Alpha in GIMP. And, what do you mean by, "Measure how far the mesh is from the edge of the shadow plane" ? The mesh and the shadow plane are the same thing, so I don't know what you're referring to.
You can write almost any way you want, and you might make yourself understood.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
-
- Posts: 802
- Joined: 30 Jul 2017 18:09
- Contact:
Re: [SOLVED] How do you correctly make a UI shadow? [Blender 3.4]
this distance:"Measure how far the mesh is from the edge of the shadow plane" ?
[ external image ]
...helps you determine what to set AO distance to.
yes. its what happens when AO distance is too big.do you mean how you could see the border of the ui_shadow texture compared to the rest of the scene?
[ external image ]
Re: [SOLVED] How do you correctly make a UI shadow? [Blender 3.4]
@overfloater Oh, you meant the entire truck. When you said "mesh" (singular), I was thinking of the plane since it is also a mesh.
You can write almost any way you want, and you might make yourself understood.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
Re: [SOLVED] How do you correctly make a UI shadow? [Blender 3.4]
@xXCARL1992Xx So, while the shadows look good in Blender, they do not look so good in the showroom.
Day Cab has it right down the middle:
[ external image ]
[ external image ]
Sleeper Cab seems to only show shadow "blocks" around the rear wheels:
[ external image ]
Legacy Cab has no shadows:
[ external image ]
My .sii files seem to be in order (I assume). All necessary files are in the correct location, as well.
Day Cab
Sleeper Cab
Legacy Cab
I'm pretty sure I'm overlooking something, but I'm not sure where to look.
Day Cab has it right down the middle:
[ external image ]
[ external image ]
Sleeper Cab seems to only show shadow "blocks" around the rear wheels:
[ external image ]
Legacy Cab has no shadows:
[ external image ]
My .sii files seem to be in order (I assume). All necessary files are in the correct location, as well.
Day Cab
Code: Select all
ui_shadow: "/vehicle/truck/389cruiser/ui_shadow_daycab.pmd"
extended_shadow_texture: "/vehicle/truck/389cruiser/ui_shadow_daycab.tobj"
extended_shadow_intensity: 1.0
extended_shadow_fadeout_start: 10
extended_shadow_fadeout_length: 0
Code: Select all
ui_shadow: "/vehicle/truck/389cruiser/ui_shadow_sleeper.pmd"
extended_shadow_texture: "/vehicle/truck/389cruiser/ui_shadow_sleeper.tobj"
extended_shadow_intensity: 1.0
extended_shadow_fadeout_start: 10
extended_shadow_fadeout_length: 0
Code: Select all
ui_shadow: "/vehicle/truck/389cruiser/ui_shadow_legacy.pmd"
extended_shadow_texture: "/vehicle/truck/389cruiser/ui_shadow_legacy.tobj"
extended_shadow_intensity: 1.0
extended_shadow_fadeout_start: 10
extended_shadow_fadeout_length: 0
You can write almost any way you want, and you might make yourself understood.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
But, if you don't use standard English properly, you would also help people understand that you aren't well educated.
Who is online
Users browsing this forum: No registered users and 9 guests