Avaer Kazmer

Results 296 comments of Avaer Kazmer

This PR need a rebase.

A few more wasm-related comments.

I think the bug is that avatar updates for switched-to NPCs are run twice.

@gonnavis if this is the branch we are working on it needs a rebase. If you have a better branch, please kindly close this!

There should be visual in-world indicators for this.

![image](https://user-images.githubusercontent.com/6926057/163214027-c303e644-5c52-4944-8f91-b424474938cf.png) I still have to fix kyojin mode on the texture remap but the performance improvement with this PR is quite large, and no quality should be lost.

![image](https://user-images.githubusercontent.com/6926057/163215761-62959149-79ca-4b30-8790-05e64c69d6e5.png) It seems the bug is in the toon shader, because using a different material fixes the mapping.

Indeed it appears that changing the texture on the VRM toon material has no effect. Probably the VRM toon shader code is doing something incorrect/unexpected with accessors, or is otherwise...

![image](https://user-images.githubusercontent.com/6926057/163220883-35d0ab3b-f17a-4b53-b1f3-682382926448.png) Hacking the uniforms did work but the lighting is still slightly broken. There's probably some other properties that need to be updated, like the shade texture.

![image](https://user-images.githubusercontent.com/6926057/163243351-cb2118cf-4758-42de-91e8-15dc6f48178b.png) It's almost perfect now after porting the texture constants (filter settings, etc). One strand of hair is still broken.