Screenspace Ambient Occlusion

Поделиться
HTML-код
  • Опубликовано: 6 фев 2025

Комментарии • 59

  • @poiyomi
    @poiyomi  3 дня назад +9

    Optimized AO is more expansive than most things, and there's literally nothing you can do about it. It provides something nothing else can, and it looks good when used well. If you don't like it, then, like all things, don't use it. You can bring this down to a super reasonable performance, but if you're running an 8+ year-old graphics card, this feature may not be your issue.
    Shaders run per pixel so please remember that the cost of something like this depends on how many pixels it covers on your screen not how many people have it or how many materials on your avatar use it. Those things aren't a cost of 0 but the primary multiplier by a large margin is screen coverage.

  • @bobkinn
    @bobkinn 3 дня назад +23

    I am not even a unity developer but i like how cute bunny character with mature men voice tells me about some sort of ambient occlusion

  • @kibbg
    @kibbg День назад +1

    good video and having teeh cover half the screen makes sense for once

  • @GodfallArt
    @GodfallArt 4 дня назад +25

    epic work as always, keep it up!

  • @p529.
    @p529. 3 дня назад +2

    Sheeeesh, didnt think it was this soon to be released. Looks great

  • @azuranna
    @azuranna 3 дня назад +9

    1:27 avi creators are gonna max this 😭

    • @lilkg69
      @lilkg69 3 дня назад +2

      Only the finest of quality for our very poor avatars 😂

    • @Baxi-Byte
      @Baxi-Byte 3 дня назад

      Yes thats why videos like this do not get made. Becouse the cost of people knowing this exsits at all, what it is, and how it works. is greifers and stpid people abuseingg it. Leading to vrchats devs patching the game to remove these fetures or shaders.

  • @jay.jay.1010
    @jay.jay.1010 4 дня назад

    Was wondering the other day how Poi SSAO worked, this is perfect!

  • @awesomeplayerAP
    @awesomeplayerAP 4 дня назад

    This is amazing! Now some of my accessories can have depth!🤩I'll check it out when I can, thank you for making this

  • @SlackerVRC
    @SlackerVRC 3 дня назад

    Oh man, definitely gonna try this one out

  • @JustRappy
    @JustRappy 3 дня назад

    Wow that's cool. I'm going to try using this with PCSS to get the best shading. Thank you poiyomi

  • @Shadsterwolf
    @Shadsterwolf 2 дня назад +2

    I would love a way to bake the AO from the shader to a texture for objects that I don't expect will deform

    • @poiyomi
      @poiyomi  2 дня назад

      @@Shadsterwolf it wouldn't make any sense because it's screen space. You'd just do that in blender or substance really easily.

    • @tjsnowow
      @tjsnowow День назад

      @@poiyomi I assume he just means a convenience feature from non-artists (or wanting to be lazy) who wouldn't know how to use substance painter or blender. I doubt it's worth doing from your end, but the convenience factor would be nice

    • @poiyomi
      @poiyomi  День назад +1

      @tjsnowow it's possible but not easy

  • @E.M.A
    @E.M.A 3 дня назад

    I honestly wish vr chat moved off the now being deprecated graphics Pipeline, I want the ease of using nodes so badly.

  • @mightybeans2
    @mightybeans2 4 дня назад +1

    0:23 my favorite part

    • @poiyomi
      @poiyomi  3 дня назад +1

      Thanks for always letting me know.

  • @broskitoo
    @broskitoo 3 дня назад

    This is so sick oh my gowrdddd, also can having a mask for this help performance?

  • @ericbazinga
    @ericbazinga 3 дня назад +1

    Can you bake your AO map for performance improvements?

    • @poiyomi
      @poiyomi  3 дня назад +1

      You can but you wouldn't want to bake your hair shadows onto your face for example. see 0:17

  • @MommaRaptor1
    @MommaRaptor1 День назад

    No matter what I do it just makes my avatar black. Does anyone know how to fix this?

  • @VoidWhisper_VT
    @VoidWhisper_VT 4 дня назад +1

    Can you use animated textures for the shadow ?

  • @via_kole
    @via_kole 3 дня назад

    Is this available now? Would love to try it out on my next avatar!

    • @poiyomi
      @poiyomi  3 дня назад

      yep it's on the current pro build.

  • @puppyguard2689
    @puppyguard2689 3 дня назад

    I'm guessing the answer is no, since Unity has a lot of shader features Godot doesn't, but is it possible to make your solution work in Godot?

    • @poiyomi
      @poiyomi  3 дня назад

      you can do much better given full control of your product. this is a vrchat shader and is hyper limited.

  • @KuryKat
    @KuryKat 3 дня назад

    I truly appreciate the incredible effort going into this! Looking forward to seeing how the upcoming performance improvements enhance everything! 😊

  • @leggysoft
    @leggysoft 3 дня назад +1

    The problem with SSAO in VR is if the left and right eye don't match it looks disgusting.

    • @poiyomi
      @poiyomi  3 дня назад +6

      in general I'd agree ssao sucks but this is specifically made for vr. it's the same with things like reflections. Honestly almost anything that works from your eye locations are going to be slightly different. In general, with this technique, I've had a lot of people tell me specifically they're surprised it does look good in VR.

    • @poiyomi
      @poiyomi  3 дня назад +3

      because this is a material function and not a post process that just overlays the scene. I do take into account vr the same as I would with specular reflections. Things like refraction and blur and all of that is also done in screenspace but people are generally ok with them. You can make things look good even if they're different in each eye because the entire scene is different in each eye. they see from two different perspectives. the trick is having those two different images align correctly so your brain accepts what it's getting.

    • @leggysoft
      @leggysoft 3 дня назад

      @@poiyomi I'm curious, can the shader be aware of it being used on desktop vs vr? I don't know if there's parameters readable for that, IPD would be invaluable.

    • @poiyomi
      @poiyomi  3 дня назад +4

      @@leggysoft Yeah, you have access to that information, and VR shaders actually use the information a lot. You have access to the position of both eyes. An example use case would be averaging the position of both eyes and rendering as if you had a middle eye to make the image the same for both. You can lose depth perception doing this, but it can fix some things.
      A big problem is that it's complicated when used in a million different situations and setups. I'm somewhat reliant on people telling me what's wrong because I can't cover it alone. Sadly, the average user will tell everyone something terrible rather than be helpful. People love hating things if they can justify it, it's a little sad and counterproductive.

    • @kitsunemusicisfire
      @kitsunemusicisfire 2 дня назад

      I thought you were talking about eye color and since my sister has two different eye colors I was offended for a second 😭

  • @BigMoomba
    @BigMoomba 4 дня назад +6

    I have to say it looks good but unfortunately more than halves my FPS on lowest settings.
    So for me an instant hide of the Avatar.

    • @poiyomi
      @poiyomi  4 дня назад +6

      that's wild because the lowest settings are equivalent to having like 8 textures on your model. If you haven't I'd def try the latest version. nice updates for perf

    • @gar_ee8884
      @gar_ee8884 3 дня назад +2

      Are you sure it's SSAO you're thinking of and not the real time light addon that a lot of booth models are using with the floating point light?
      The worst I've seen SSAO do was like 2% fps drop from 350 to like 345, it's been a pretty inconsequential addition on any of my avatars

    • @BigMoomba
      @BigMoomba 3 дня назад

      @ it was the Default SSAO from POI Pro.
      He was able to Activate and Deactivate it and out of my test it was clearly to see the difference.
      In VR it drops me from ~90 fps down to ~25 fps with a distance of 1 meter.
      Quallity was set to 3 and he had 4 Materials that was using it.
      On desktop i get most of the time a drop from 20-30 fps even on quality 1.
      I don't have a high end PC and only a 1660 ti so maybe it has something to do with my old setup.
      But i will test the New updated version if it gives a bit more performance for me.

    • @Lycanthronaut
      @Lycanthronaut 3 дня назад

      Holy cow 8 textures is a lot

    • @poiyomi
      @poiyomi  3 дня назад +1

      @Lycanthronaut you probably have dozens upon dozens of texture reads across your avatar. If you have like 5 materials I wouldn't be surprised if you're over 100

  • @darkhummy
    @darkhummy 3 дня назад

    People still use unity?

    • @E-yv5ez
      @E-yv5ez 3 дня назад +1

      you have no choice for vrchat avatars (thats what the shader is mainly used for)
      since the game runs on unity you have to use it to make assets for the game
      id also rather not but im becoming good against my will xd

    • @lilkg69
      @lilkg69 3 дня назад +2

      @@darkhummy vrchat is LITERALLY unity wrapped into an online social experience

    • @darkhummy
      @darkhummy 2 дня назад

      @ Oh I didn't realise this was specifically for vrchat. Yeah that was developed a while back. This video was just randomly in my feed. Random for me anyway, as I moved away from Unity a while ago.

    • @AuraDragoness
      @AuraDragoness 2 дня назад

      @@darkhummy The thumbnail literally has VRChat's logo on it.

    • @darkhummy
      @darkhummy День назад

      @@AuraDragoness I don't play VRChat. Why you still talking dude.