Native Ambient Occlusion (SSAO) shader

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.

Re: Native Ambient Occlusion (SSAO) shader

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Thu Oct 24, 2019 5:31 pm

@Driftwood: Yes, that sounds reasonable too

@Trevor: The fix I did yesterday was "quick-and-dirty" but there's probably a way to bring those shadows back (Maybe by mapping alpha-to-"solid-geometry" in the SSAO shader).

User avatar
blue_max
XWAU Member
Posts: 2295
Joined: Wed Mar 20, 2019 5:12 am

Post by blue_max » Sat Oct 26, 2019 6:11 am

I've got a better fix now. It's essentially mapping the alpha channel to "SSAO solidity":
yavin-ssao-2.jpg
This way the trees now cast SSAO shadows and I don't need to specify a list of textures anywhere: all alpha-enabled textures should work.

@DTM: Check your PMs and let me know if this version works well.
You do not have the required permissions to view the files attached to this post.

User avatar
DTM
Fleet Admiral (Administrator)
Posts: 2119
Joined: Tue Apr 22, 2003 11:01 pm
Contact:

Post by DTM » Sat Oct 26, 2019 9:20 pm

It's perfect! Thank you, it works!

Post Reply