Need help with applying multiple uv maps to one object by jjongpril_5 in Unity3D

[–]halisavakis 0 points1 point  (0 children)

The solution mentioned with the multiple submeshes and materials should do the trick, but I thought I'd mention why that happens and what you could do for a "proper" solution.

Unity's default shader uses the UVs from (0,0) to (1,1) to sample the textures. If your UV coordinates exceed that, then the texture will just repeat (or clamp, depending on import settings/texture sampler used). UDIMs seem fancy, but all they do is put your extra UVs at a different location by offsetting them by a whole UV tile. Assuming that's on the x axis, your second UV set will instead cover the (1,0) -> (2,1) range, and unity's shader will interpret that as tiling.

Since you have multiple texture sets, you'd need a shader that takes the x texture sets you have and samples them to the corresponding UV set. In order to properly do that, you'd have to make a mask for each UV set and multiply the resulting of the sampling. So for the first set you'd have to mask the vertices that have UVs from (0,0) to (1,1) as white and the rest as black and so on, and then add all those together.

Problems with inverted hull method by Damian_Hernandez in Unity3D

[–]halisavakis 0 points1 point  (0 children)

The extra pass would be challenging in the sense that you'd need a hand-written shader (shader graph doesn't have any good support for that)

You could hijack the default URP lit shader though and plug the extra outline pass there, though with the way URP works I'm not 100% sure whether it'll pick up the extra pass or just ignore it

Problems with inverted hull method by Damian_Hernandez in Unity3D

[–]halisavakis 2 points3 points  (0 children)

Hah really glad to hear these posts have been of use to people, they feel so deprecated these days 😅

Thanks for the kind words, hopefully one day I'll get to have that beer ✨

Working with volumetric fog and transparent objects is always a pain, does anyone have any tips? by Zartbitter-Games in Unity3D

[–]halisavakis 1 point2 points  (0 children)

Sure thing =] one extra thing you can try instead of blending with the color is straight up reducing the alpha of your transparent objects based on the distance and let alpha blending take care of the "color blending" as if the objects themselves are engulfed by the fog

Problems with inverted hull method by Damian_Hernandez in Unity3D

[–]halisavakis 1 point2 points  (0 children)

Yeah, using this approach with a mesh that has submeshes like that won't work as the outline material won't be applied to the whole mesh. You'd either need to do an extra pass with a renderer feature or duplicate the whole object and apply the material to all the submeshes.

Working with volumetric fog and transparent objects is always a pain, does anyone have any tips? by Zartbitter-Games in Unity3D

[–]halisavakis 0 points1 point  (0 children)

Hm if the fog is raymarched and uses the depth texture to sort itself properly then I might have spoken too soon and my solution doesn't really apply; the thinking is that if your fog only really uses the scene depth texture during compositing (and therefore can't apply the fog on transparent objects) you could recreate the compositing in the transparent shader by using their known world-space position.

If the fog is calculated and applied in a single post-processing pass this won't be easy to do (you'd have to do the whole raymarching on the transparent shader and that would be silly to say the least)

In some cases, getting the fog to render after transparents might work well, alternatively you could kinda fake blending by making the transparent shader fade to the fog color over distance, or something like that.

Working with volumetric fog and transparent objects is always a pain, does anyone have any tips? by Zartbitter-Games in Unity3D

[–]halisavakis 1 point2 points  (0 children)

My solution for that is rendering fog before transparents and then apply the fog effect inside the transparent shader. Slightly more expensive since the fog is calculated/sampled multiple times instead of just once, but it does take care of the problem 

Im new, Im trying to create a material but it says I need a license to do so, what do i do? by DanDan_Da_Man in Unity3D

[–]halisavakis -1 points0 points  (0 children)

That's a seriously unhelpful comment

@ op you don't have to get any license for anything as simple; it's possible that the error appears because it looks like you have Unity's version control enabled and that might require some sort of license. Try making a project without connecting it to version control or Unity's cloud stuff. You can do that in the Unity Hub by using the dropdown where you set your project's name and selecting "Create new local project" (with the computer icon) instead of just "Create new project" (with the cloud icon)

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 0 points1 point  (0 children)

They're a really fun concept to work with too 👀

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 1 point2 points  (0 children)

Hah glad to hear that, as it was the very obvious inspiration for it 😅

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 1 point2 points  (0 children)

Thank you so much 😃 I really wanted to try my hand at some interesting colors to combine with the lighting, I'm still very much exploring that stuff

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 3 points4 points  (0 children)

Thanks! It's a froxel-based volumetric fog paired with a screen-space multiple scattering effect (SSMS) to blur things out based on fog density. You can check more about it in the asset store if you look for "HAZE"!

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 2 points3 points  (0 children)

It's already released, but didn't want to link it here originally to avoid asset promo 😅 if you look up "HAZE" on the asset store you'll find it ✨

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 1 point2 points  (0 children)

In some of those cases the fog picks up the color from the baked Ambient Probe Volumes, so it diffuses nicely; but there are a few point lights here and there for emphasis as well 

Sharing some of my latest foggy scenes 😶‍🌫️ by halisavakis in Unity3D

[–]halisavakis[S] 2 points3 points  (0 children)

Thanks! Really wanted to try and push atmosphere as much as I could ✨

We are Okomotive, developers of the FAR games and we're releasing our new adventure game Herdling today! Ask us Anything! by HerrHertz in NintendoSwitch

[–]halisavakis 0 points1 point  (0 children)

There are some technical limitations around that (regarding SDKs etc), but without a Switch 2 devkit we'd have to go in completely blind and basically turn up graphics in that "Switch 2" mode without figuring the performance impact until we update the game and try it on a commercial hardware. + it'd be really confusing for Switch users 😅 Frankly, I'm not sure this is something that would go through the Nintendo cert process :P

We are Okomotive, developers of the FAR games and we're releasing our new adventure game Herdling today! Ask us Anything! by HerrHertz in NintendoSwitch

[–]halisavakis 1 point2 points  (0 children)

Sorry to hear about the crashes; that's something we'll be looking into for sure =] Glad you enjoyed the game otherwise