#development-advanced

1 messages · Page 29 of 1

olive surge
#

I need to check

hybrid raft
#

Play on awake is what I think the setting is called

olive surge
#

I'll try that out, thanks @hybrid raft

olive surge
#

didn't seem to work. I had only pursued the idea because I thought I saw an avatar once that had a bazooka that made a noise when the rocket hit something. Looking at the avatar again, it seems that it's all just one noise

hybrid raft
#

Are you able to get sound at all? Is it just not timed right with the explosion? Because you should be able to get sound out of your animations.

olive surge
#

yeah

#

I have a sound working on the avatar for her gun shooting

#

I was just trying to figure out how to tie the audio source to the subemitter going off, for the grenade explosion

#

I could probably make a very long audio clip with silence at the beginning, timed so that the explosion sound happens when the grenade goes off

#

since it always explodes at the same time

hybrid raft
#

Are you enabling the audio source through your animation?

olive surge
#

yeah

hybrid raft
#

Hmmm and it doesn't go off it you set the keyframe to the right spot? That's super weird

olive surge
#

ah no

#

I have a working sound effect with the animation

#

I was just musing on how to make my grenade sound effect timed properly

hybrid raft
#

I know I was just confused because you should just be able to change the timing by moving the keyframes

olive surge
#

yeah, it's for a finger gesture override so I wanted to avoid having very long animations

#

cause it causes this bug where the avatar's fingers move really slowly

hybrid raft
#

Gotcha. Then in that case adding silence at the head is probably the right way to go.

warm niche
#

looking for someone who can help apply an alpha mask to the second pass of a shader

compact lantern
#

how don

#

people make this ingame webpanels?

leaden lark
#

a prefab in the sdk @compact lantern

compact lantern
#

u mean the video player?

hybrid raft
#

Is there a specific issue you're having?

steel swallow
#

does anyone know of a way to prevent a game object on an avatar from rendering in mirrors?

sand canyon
#

you can change the render layers for the mirror

steel swallow
#

sorry, not in regards to worlds

sand canyon
#

MP83 did that for avatar pedestals which was clever

#

ohh

steel swallow
#

I mean is there anything I can do to my game object

sand canyon
#

well that will change depending on how the mirror is set up in each world

#

can avatar gameobjects have custom layers?

steel swallow
#

I'm hoping there's some universal mechanic they all make use of

#

and no, everything gets set to default on upload

raw raft
#

Are you looking to hide something on an avatar from just your view in a mirror?

drifting egret
#

@steel swallow I tried that before for a vampire avatar. Unfortunately, I found no way to hide stuff in mirrors.

#

We don't know much about how mirrors work in this game

#

I know that mesh particles don't get rendered in mirrors for some reason, maybe you could make use of that.

raw raft
#

Well we know that mirrors suck and render everything in their view, but that's about it.

drifting egret
#

They do a little bit of optimization magic. Which is why before yesterday, you couldn't see activated objects in mirrors, and you couldn't have two meshes with the same name anywhere in your hierarchy

#

Your best bet would be to try and exploit this somehow, but I don't think this is possible

#

Especially since a lot of the optimization is not applied for other people, only for yourself

raw raft
#

yep.

#

also optimization sadly doesn't matter for mirrors. They just suck in general. Optimizing can help a bit, but not much in the case of mirrors. With enough people in front of a mirror (>10 within it's view) stuff can lag pretty bad

autumn hatch
#

You can play around with layers the mirrors reflect or make sure the mirror doesn't reflect half the world, only a closed in room

#

But yes, mirrors are very expensive

olive surge
#

I am looking for some good guides on doing idle animations. I am doing a bird avatar that I want to flap his wings when he is standing in place

#

I assume I just make the flapping animation and put it in Idle spot in animation override?

drifting egret
#

Yes, that's exactly it.

#

If you want it to flap its wings, I assume you also want it to float up/down slightly?

olive surge
#

ah yes

drifting egret
#

In that case, make sure you do not have all the finger bones mapped.

#

If you have the thumb, index and middle finger bones mapped on both hands, the game's IK system will prevent you from floating up/down.

olive surge
#

I see. Thanks for the tip

drifting egret
#

If you get a message "full-body IK will be disabled" in the SDK upload window, you know that you're good to go. If this message doesn't appear, Root Transform will not work, since the game tries to keep your legs on the ground.

#

Keep in mind that disabling full-body IK will also prevent you from using gestures. You can still use emotes

olive surge
#

root transform is Root T under animator yeah?

drifting egret
#

Yes

#

That's the place where you'll want to move yourself up/down

#

Oh, none of this applies to Generic rigs, though.

#

If your avatar is generic rigged, then it should work either way. No need to unmap fingers or anything. Only applies to Humanoid

olive surge
#

I just set it to humanoid since its bone structure is actually mostly humanoid

#

articuno

#

I was actually also wondering what TDOF means in animators

drifting egret
#

Oh, that's a good question. I honestly don't know

#

If your rig is Humanoid, consider using the Muscle Animation Editor, makes it really easy and really fast to make animations

#

No need to add the properties by hand, just drag sliders

olive surge
#

ah

#

I do have that lol

#

god it's a lot easier isn't it lmao

#

I was rotating things by hand

main warren
#

They should make a jump option in the avatar overrides

runic mauve
#

@main warren jump is base on world and some people dont want jump in world

inland sierra
#

for the animation i think

main warren
#

I mean jump animation replacement

runic mauve
#

oh ok

main warren
#

@runic mauve ???

#

lmao

runic mauve
#

maybe make canny on it

#

best way get somthing like that

main warren
#

lordy

olive surge
#

in this Muscle Editor, is there any way to get values to go past 1?

#

my bird will bend his shoulders but not enough to look like a bird

#

never mind. I can tweak it by hand afterwards

warm niche
#

Where can I find a large repository of good prefabs (piano, video player, customizable jukebox, decent pens)?

olive surge
#

hm ok. So now I am having the problem that having the hand bones means that my avatar is not flapping his bird wings (the hand bones inside his wings are behaving like a normal avatar's). Should I just create a second pair of invisible hands for him?

stiff lily
#

@warm niche You should probably ask Digitrevx if he's part of any large content creator discord, those may be able to give you cool prefabs

warm niche
#

Thanks, I'll ask.

rose karma
#

r we get update were u save a room a fav so do look for again

robust yarrow
#

soon

warm niche
#

Is there any way to prevent someone who is sitting down from using an OnInteract teleport? Reducing the teleport proximity doesn't work.

warm niche
#

Ah, maybe if i turn off the teleports after sitting down it might fix it.

sand canyon
#

what happens if you teleport while sitting?

warm niche
#

In this world all rooms are inactive except for the room your are in. This particular teleport turns on the next room, then transports you to the rooms location, then it turns off the room you were just in. When you are sitting down and click on the teleporter, it transports you to the position of the next room, but you're still sitting down, and the room doesn't appear. Moving makes you fall through the world.

hybrid raft
#

Are you turning on and off rooms to activate triggers or simply for performance?

warm niche
#

For performance.

#

There's half a million to a million polygons in some rooms so i need to turn them off.

hybrid raft
#

I've never culled an entire map myself, but I feel like it would be less buggy over manually triggering everything

sand canyon
#

I had too many bugs with trigger-occulusion. Unity occlusion does a good job. I just used triggers to switch background music per section.

warm niche
#

Not sure if OC would work as well since i have animations too. Anyway, Turning off the teleports after sitting down seems to have fixed it. I've got an OnEnterTrigger on the main spawn point to catch anyone who respawns while in the chair.

warm niche
#

Probably just be easier if i set all the teleporters as OnEnterTrigger

hybrid raft
#

That works? I thought it had to be on avatar hit

warm niche
#

I've not used it recently, i hope it's not broken.

#

I used it in my mario world when i first published it.

#

Just tested it and it's working. As long as you set the 'is trigger' on the box collider and set the layers to PlayerLocal.

sand canyon
#

OnEnterTrigger is a good teleporter method. Also removes the chair issue because you have no collider when you sit.

hybrid raft
#

:O

warm niche
#

Yeah, reason i didn't use it is because very small rooms, could accidentally walk into it. Also you have to be careful where you put the spawn because if it's anywhere near another teleport collider it will teleport back to where you were.

woven bay
#

any way to make VRC_VideoPlayer load the URL each time it comes up instead of caching?

#

I'm using a redirect system to feed a random selection of youtube videos from my URL

#

so every time you pull the URL you should get a different video

#

but VRChat keeps loading the same one because it caches the 307 redirect

#

the only solution I can think of is creating multiple urls but that would lag like hell when you join the world

inland sierra
#

Don't try that. It will just have a different video everytime for everyone.

woven bay
#

I didn't think about that

#

good point

#

I'll have it go by an id instead

modest meadow
#

Does the linear rolloff for audio not work anymore?

#

Seems that vrc changes it to custom every upload

modest meadow
#

Nm, figured it out

modest meadow
#

Nm again.. audio works for a bit.. then spontaneously doesnt anymore

sinful verge
#

@runic mauve is it possible to get my world reuploaded within the 24 hours request

#

I found an issue where an engine sound isn't lowered by sound effect and using true sound, it's causing issues where you can hear it everywhere

red stag
#

Does anyone here know how to put in my own sitting animation into a chair?

drifting egret
#

Yes

#

@red stag make your animation. Make an animation controller that immediately plays this animation. Unity autogenerates this when you drag an animation onto an object that doesn't have an animation controller yet

#

You probably knew this part already

#

The next part is putting the controller in the VRC_Station custom animations slot, and you're done

#

Make sure "seated" is ticked, even if it's technically a standing animation.

#

Keep in mind that custom sitting animations will prevent people from using their gestures. You cannot get around this AFAIK.

red stag
#

@drifting egret Thanku

runic mauve
#

@sinful verge you have to wait 24 hour resend update

#

that part of that form rule

normal aurora
#

I don't suppose someone already has a shader to remap youtube's weird layout for 3d 360 videos

worthy carbon
#

Hello, I'm trying to upload an avatar that has dynamic bones, but they don't seem to work in game. I have uploaded many avatars with dynamic bones before and it always worked, so I don't know what I did different.. Would anyone know what to look at? Thanks

modest meadow
#

Are the bones parented correctly? Does the dynamic bones have a root bone assigned?

#

Heres a tough one... Anyone know if its possible to make an 'audio source' world based? Basically act as world particles do?

worthy carbon
#

yeah they are parented correctly and they work when I test in unity

#

but not in VRChat

#

for some reason

modest meadow
#

hmm

summer berry
#

What do you mean by world based sound?

modest meadow
#

Essentially if it's possible to create an audio object that doesn't follow your avatar

#

I'm leaning towards no... lol

#

At least I can't think of any possible way

summer berry
#

You can fake an object not following your avatar by giving it a collider and a rigid body with gravity and is not kinematic. It will still follow you locally, but people tell me that it stays in place for them. If you put the audio source on that, it will stay for them.

modest meadow
#

Ah sweet, that would work, thanks!

#

Gonna have to create a second account for testing now loll

summer berry
#

What are you planning on using this for?

modest meadow
#

Trying to make an animation where I summon a speaker for music lol

#

It's pretty neat looking, just need to get the sound to work right... and make the speaker cones look like they are doing something somehow...

solid sinew
#

eeeyyyyy

#

can i get help if possible?

#

my VR SDK goes halfway through the importing process then stops

deft bough
#

I'm trying to add collision to a particle that I'm shooting out of a gun, so that when it hits something in the environment it makes sparks. I have all of the effects working correctly, but the problem is that the collision doesn't follow where I'm aiming.

To clarify, the visual of the particle going through the air is correct, but the actual collision is wrong. The collision is occurring as if it's ignoring where I'm aiming, and instead using the original position of the emitter from Unity.

Does anyone know why this might be occurring? Is particle collision through the normal particle menu not supported?

#

@solid sinew Are you using Unity version 5.6.3p1? (It should say in the upper left corner of the Unity window)

solid sinew
#

yes

#

apparently when I try to import other things it just doesnt work

deft bough
#

Hmmmm : /

solid sinew
#

I found one thing that says that Unity might now be running with my nvidia graphics card but I dont know how to do that stuff

deft bough
#

the graphics card running unity wouldn't effect importing the SDK XD

solid sinew
#

daaangit

#

it just gets stuck on importing small assets which is halfway

#

My computer probs is not magical anymore

#

I blame updating my Windows cause after I did that I had so many problems appear and going back just made it worse somehow

dull umbra
#

@red stag @drifting egret I have not been able to get the single-state animator working, but custom sitting animation should work using the same type of AnimatorOverrideController used for your base avatar animations. The IDLE animation becomes the sitting animation. It also works for replacing gestures while you are sitting.

modest meadow
#

Anyone know of a way to make an object -not- follow the avatar after being set to 'active' from an animation trigger>?

normal aurora
#

Was the right answer “a fixed joint connected to nothing”? I can’t quite remember

drifting egret
#

I think it was, Svelsien sent me a prefab but I never got it to work

#

Friend of mine got it to work apparently, by doing a slightly different setup than what people have been telling me

warm niche
#

Looking for a standard fade shader fork that renders in the opposite direction as the standard fade shader.

woven bay
#

When it says requires scripting

#

does that mean I can actually use unity scripts?

#

or is it something else

#

oh nvm it uses triggers

#

neat

woven bay
#

is there any existing documentation on VRC_Gun Stats?

summer berry
#

I'm not sure why it says it requires scripting. I have it working in one of my test worlds. No idea on Gun stats, but I know people have been making their own guns with damage colliders that turn on when they shoot.

woven bay
#

the actual gun stats component seems useless

#

what I'm wondering though is how they're going about tracking ammo

summer berry
#

I'm not sure how they are doing it. It seems easy to do with animation controllers and the int math actions. On shoot, animation int minus 1.

cold minnow
#

does anyone know the version of Playmaker vrchat will use?

analog dune
#

@cold minnow Whatever version that's in Unity's asset store I guess.

warm niche
#

hello

leaden lark
#

@cold minnow you'll be lucky if you get a peep out of them about playmaker lol

fierce python
#

Playmaker will be outdated when they get it ingame.

inland sierra
#

lol

hasty apex
#

Anyone play with the new CATS update yet?

#

It says that it supports source engine models but I can't seem to figure out if there is a seperate import option for those

cold minnow
#

do shaders that use scripts (at least in the editor) work ingame?

robust yarrow
#

@cold minnow i dont think they do

marble fox
#

i've seen avatars that are able to climb into the air, does anyone know how to do that?

earnest dune
#

Its a collider between the hips and feet

#

depending how exactly you put it, you're either gonna stand still in the air, or fall in steps

marble fox
#

i don't think that's it, they grab a spot and drag their avatar towards it, the collider thing is more like flying

hybrid raft
#

Here's an example. I've also wondered about this.

marble fox
#

yea, that's what i mean, i would love to be able to do that.

hybrid raft
#

I've only seen people with full body do this. I wonder if that has something to do with it...

marble fox
#

i think i've seen 2 without full body

summer berry
#

I asked one person with fullbody and they said it was an option using steamvr advanced settings. They are changing the height of their floor. This only works if you have full body or a non humanoid avatar.

marble fox
#

that's one way to do it, but these people are dragging themselves up, not changing settings

summer berry
#

That’s part of the setting

#

Grab to adjust room height.

hybrid raft
#

Oh shit

summer berry
#

Or whatever it’s called.

hybrid raft
#

That's dope

marble fox
#

ow, guess i'm gonna need to get full body then

summer berry
#

The reason full body tracking is necessary is because vrchat keeps your feet on the floor in humanoid. If you are controlling your feet, then you can move them off the floor.

leaden lark
#

vrc player mover

#

is what its called

#

i have it somewhere but idk where lol

hybrid raft
#

I'm confused. Is it a VRC component? I think Cyan was saying it's a part of the OpenVR Advanced Settings

summer berry
#

There could be more than one thing that does it.

warm niche
#

hey guys

#

any1 here

#

what settings and type of texture do i use in the distortion shader to get the shockwave effect

#

?

normal aurora
#

there are ways to do the climbing thing without actual full body tracking

#

e.g., PlayspaceMover can simulate trackers

dusky dirge
#

owo

#

thanks @normal aurora

drifting egret
#

Is there a way to test how many draw calls my avatar is? The profiler says "154" which I find extremely hard to believe

summer berry
#

Turn your avatar off, check the number, turn your avatar back on, check the number. For some reason the skybox has a large number of polys and can take a few draw calls. What else do you have in the world? Also shadows are another draw call per material.

drifting egret
#

Alright, thanks.

#

Nothing else in the world, just the avatar, camera, and directional light

#

Does crunch compression for textures actually do anything for optimization? Like, does it take less video memory? Or is it just for decreased filesize on upload/download?

summer berry
#

Not sure, where is that option?

drifting egret
#

In the texture itself, at the bottom

#

For DXT5 textures (default format when importing PNG)

#

Anyway I looked into it, textures are decompressed and then sent to the GPU

#

So it's no use in terms of VRAM usage

drifting egret
#

Oh, cool

#

Hmm, it seems to be a bit limited for my purposes

#

I'm using the CATS copy protection and the garbled mess it makes out of the model is almost certainly affecting results

#

It also doesn't seem to take dynamic bones into account yet

#

I did find out that my model is only 33% slower than UnityChan, so that's something.

#

Tbf I could probably optimize it further by atlasing everything (I left the face material alone because I needed to keep it)

summer berry
#

Depending on how big your textures are, there are ways to atlas that do not lose quality.

drifting egret
#

I manually atlas

#

Not sure which other "ways" there would be

#

But no matter how big I make the face in the atlas, it loses a bit of detail

summer berry
#

I just recently combined all my textures into one in photoshop without resizing and then manually updated the uvs.

drifting egret
#

The eyebrows and eyelashes are normally very sharp, but they become a bit more jagged or blurry when I atlas

#

Oh yeah, tiling could also work

#

I never understood why that isn't an automatic atlasing feature to begin with. It would give so much better results, maybe then people would actually atlas their stuff.

#

I guess I can add the face textures to my atlas manually, there's some space left over. A lot, actually

summer berry
#

I don’t know how to make blender plugins, but I really wanted to automate the process.

drifting egret
#

How do you properly align the UV's? By hand?

summer berry
#

Math

drifting egret
#

Yeah, same. I'm actually a programmer so I've been thinking of doing it

#

Just thinking of ways on how to deal with multiple materials with the same texture but different colors, for example

summer berry
#

I know the scale from the old texture to the new texture and then I moved it the number of pixels.

#

I’m a programmer too.
Not sure how to handle the different colors part unless you bake them in.

drifting egret
#

I guess you could offer an option to just duplicate the texture with different colors applied

#

But the main problem is aligning the tiles as efficiently as possible. It's easy if they're the same sizes, but what if they aren't?

summer berry
#

I’ve been thinking about an easy algorithm to do it, but the runtime would be terrible. Making it generic to handle every type of avatar would be annoying as well.
I would rather spend my time working maps right now.

gleaming bane
#

Do screen space reflections work in vrchat?

#

I keep trying to get it to work and im about ready to quit because every time i upload they are gone

#

but in my unity they are fine

hybrid raft
#

I don't really understand what you mean by screen space reflections... Are you trying to do realtime reflections?

gleaming bane
#

Its in the unity post effects stack

#

And yes.

#

Im not doing the reflectance through the materials themselves though. Its the post effect that does all that.

hybrid raft
#

Unsupported in VR and it requires deferred rendering path

#

You might be able to get it to work on some desktop users tho...

gleaming bane
#

Dang it

runic mauve
#

@gleaming bane i thought you left

gleaming bane
#

I did

eternal mantle
near bronze
drifting egret
#

Have you tried enabling Debug?

#

That sucks though, maybe there should be an editor script to fix that

near bronze
#

nope, doesn't fix it :/

drifting egret
#

Anyway, it sounds like something that could be fixed with an editor script. Seems like a huge bug though, it's amazing that they had not even caught on yet. Makes interesting joint setups all that much harder.

near bronze
#

one of the forum threads says you can change one of the other completely unrelated options and that would fix it somehow, but I think he was on a different version because that didn't fix it for me

#

And yeah, it's kinda funny that the reproduction steps are literally "go to it and look at it"

drifting egret
#

This Unity version is cursed, I swear.

#

Just one version later, and we would have working Configurable Joints, rotate-able world mesh particles, etc.

near bronze
#

ugh, rotateable world mesh particles would be huuuge

drifting egret
#

You can sorta do it with a shader, but that has limitations

near bronze
#

yeah I know

#

but mostly you can do workarounds to get a similar effect with trails and leaving behind particles while it's moving. If you want something to stick into the ground and stay there, trails won't really help you too much and the shaders will just completely break once it has no velocity

warm niche
#

Can someone send me a prefab / Settings of the poseable dolls that can be found in some worlds? i already got Final IK.

near bronze
#

Hmm, the drive mode is meant for allowing you to target a specific velocity, but in the absence of that, just increasing the mass of the rigid body allows you to limit it's velocity enough for most purposes

#

dang there's a lot of cool stuff you can do with joints. How about a fidget spinner that you can actually flick instead of just activating a spin animation? 🤔

sick verge
#

Would anyone know how to incorporate audio occlusion to players speaking, mostly so I don't have to hear a person speaking from a floor below me when i'm 1 or two floors above them
Figured I would ask here before I spend another day testing methods outs.

summer berry
#

I would like to know about this too, but I feel like we would need scripting for this or have the devs create something like this for us.

sand canyon
#

As far as I know this is not currently possible. There are audio solutions out there but they would have to implement them on the game side.

#

You can occlude your own sounds with triggers, but not voices.

#

The other thing you can do is to make different rooms appear to move seamlessly but actually be separated in physical distance with teleport triggers on stairs.

#

The Oculus sound sdk for unity does not currently support world-based geometry according to their documentation, citing VR performance issues.

hybrid raft
#

There's a limit to the number of audio sources allowed in VRChat. I have a world that spawns audio sources in the form of ugandan knuckles and after a while voices get muted. If you could find a way to exploit this you could mute everyone in a certain part of the map by spawning local audio sources. Like if you wanted a dance floor where you could only hear the music. No lag as far as I can tell.

sand canyon
#

whaaaat

#

shit I was gonna put Physsound on everything

#

Is it max active or max spawned or what

atomic crescent
#

Alright, I've got my Toggle prop working for the offon switch, but when I try using the onoff switch it takes 2 or 3 toggles before it starts working

hybrid raft
#

@sand canyon It's max active. If you kill the knuckles in my map, sound comes back. Please start using Physsound. Every map I go to is completely silent if it doesn't have music. One shot audio sources in Unity like the ones created by Physsound are automatically deleted once they finish playing. Also it seems like it's a unity limitation not a VRChat one.

sand canyon
#

The problem with Physsound is it requires two clients to activate.

#

Which means it is very hard for people to implement and test easily.

#

I'll get it going, I've spent a ton of time on sound effects for this world. Every button or interaction really should have a sound, but with the AudioTrigger bugs it is super tedious.

frigid nymph
#

can someone help me where the freaking part for disabling shadows in cubed paradox flat lit code is? i cant find it and it stops me from annihilate unneeded draw calls

summer berry
#

I haven't looked at the code, but I think you would need to change it from a surface shader to a fragment shader so that lighting isn't calculated the same.? Can someone with more shader experience answer this.

red fractal
#

I have a problem with a masking-shader, that uses the render queue to make things invisible behind a quad that have a higher render-queue than it.
the problem is:
even though the render queue is set to 4000, transparent objects behind it that should be 3000 render-queue aren't rendered, but the opaque object that's supposed to be hidden with a render queue setting of 4010 is indeed invisible

#

the thing is, it shows fine in the editor and also in playmode, but as soon as I upload it to VRC it doesn't work anymore

native aspen
#

@red fractal did you change the queue from inspector or from shader.
I have noticed that vrchat tends to change the queues to the shaders default values when uploading
Changing the queue from shader itself worked for me

red fractal
#

I used the material-inspector

#

now I to find a way to modify the standard shader's render queue on a shader basis, but thanks for your help, it sounds like that could fix my issue

native aspen
#

you can download the standard shaders from unitys archive site

red fractal
#

yeah, and doing it your way fixed it! Thanks a lot!

native aspen
#

np

keen turret
#

Okay so quick question, that if you have a answer for feel free to dm me or tag me here, but is it possible to have a gameobject spawn in your hand, throw it so it becomes a world particle, and then return to your hand.

#

Etc for juggling making the bottle get thrown up, do a spin in world animation wise state so you can move your hands around while it's airborne, and then catch it in the other hand making it a object in your hand again

woven bay
#

With a well timed animation you could emulate that

#

Essentially have a particle system enabled by the animation

#

But at that point why not just animate the bottle itself

warm niche
#

Yea you only need to run particle systems on timers and subemitters

#

Dont really need keyframes

worthy carbon
#

Hello, I'm using a particle system for some kind of grenade-type object. It emits from my hand and is simulated in worldspace, bounces on the ground, then explodes. It works fine on my side, but other people are telling me that the particle doesn't emit the same way as I see (not even somewhat close). Does anyone have any idea how to fix that? Do I need to set some flags on some objects so it replicates properly?

harsh nest
#

@frigid nymph I think shadow casting is using the Fallback "Diffuse" at the end of Flat Lit Toon, maybe removing that line would stop the shader from casting shadows, you can also disable shadow casting directly on Mesh Render component, set Cast Shadows to Off

frigid nymph
#

@harsh nest im good thanks for ur help tho

keen turret
#

Hmmm so I'd have to make a well timed animation

#

Guess that's do-able with some timing and stuff

#

Btw another question, would it be possible to leave a game object in the world simulation space, so I'd be able to place certain stuff behind and walk away from it without it following my character?

drifting egret
#

Yeah, but I'm not sure how it works

#

Easiest way is a world mesh particle, no hassle and it just works.

#

Only downside is that it has to be 1 material, but you can atlas it, so that's doable.

#

Harder involves fixed joints attached to nothing

keen turret
#

Hmmm, it's because I've worked on a dupe of my model that stands behind me with rigid bodies and fix joints that makes every movement I make get replicated on the other model, only problem is when I turn my head it turns with it since it's just attached to the armature.

#

I'd love to have the ability to leave it behind so it follows my every move without turning awkwardly when I turn my head

drifting egret
#

I think that's possible, I've seen another guy do it

keen turret
#

Hmmm, I wonder how I'd have to go about it though

cold minnow
#

why are they blacklisting so many playmaker scripts reeeeeeeeeeeee

short crypt
#

@cold minnow So they can slowly filter them after release

#

To give them time to test them whilst also delivering Playmaker on time as promised

#

Just gotta trust them

cold minnow
#

trusting tupper

drifting egret
#

Lol, I doubt the whitelist on that will change much

#

We don't even have billboard renderers on our avatars

dusk quartz
#

hey all- anyone with some insight would be appreciated-

I'm trying to set up a series of "triggerable" animations,
I have most of the actual trigger system down, but what im stuggling with is the start/stop with the animations on the object.

Basically i have an NPC model that idles, and when you walk up to it, it needs to play a sound, and transition to a running animation from Point A to Point B-

Then it needs to idle again, and wait for the next trigger.

If anyone has some insight into how to do this, im struggling with it. i can't tell if it's the animation transitions in the node setup that isn't working right, or what.

sand canyon
#

King, can you screenshot your animator controller window with the relevant transition arrow selected?

dusk quartz
#

YEE one sec, almost off work

dusk quartz
#

Hey so the issue seems to be i just cant get the model to accept any of the animations. Just the IDLE animation thats bundled into the FBX. I can't edit any new states in the controller, cant set any of them to "Default State" and I can't drag any animation files into the "motion" tab. Should I be setting the FBX to Legacy, Generic or Humanoid?

#

aaaaaand as soon as i hit send i answer my own question. okay lol things are moving along. thanks!

sand canyon
#

I suggest you copy all the animations from the fbx to new ones

#

Hope it works for you now

dusk quartz
#

yee they each have their own fbx import, im whittling away at it now. Just need to find a way to loop the run cycle in Blender before import. Jade World almost ready!

olive surge
#

is there any way to use finger gesture overrides with a generic rigged avatar?

near bronze
#

I don't believe so, but at the very least you can add dummy bones that aren't weighted to anything in order to get it imported as humanoid

olive surge
#

gotcha

olive surge
#

is there any way at all to avoid the Fist finger gesture bug? Where when you assign a finger gesture override to closed fist that it gets stuck on all the time

near bronze
#

Just don't assign stuff to fist

#

Fist has other stuff going on that make it have multiple stages based on how hard you pull the trigger, so it does weird stuff. Plus it has the whole thing where you override it with another gesture, so even if it wasn't buggy, if you ever override fist you lose access to it

drifting egret
#

You can override the fist finger movements though, but that might make grabbing stuff look weird

#

I already have open hand used for something, so I'll probably make my right fist an open hand so I can wave

frigid nymph
#

i remember long time ago that i read a method here to constantly change something (turn off a mesh or so?) by using system emotes or so the intentional idea was somehow so save slots again can someone explain to me again how that works?

drifting egret
#

Toggle props in this channel

#

Search for it and you'll find a package

frigid nymph
#

@drifting egret thanks

near bronze
#

I'm trying to change a parameter for one animation through the use of another animation, but every time I set it to 1 it just goes right back to 0 the moment I click away. I'm also getting the error "animator is not playing an animatorcontroller" Which may be related? I tried googling that, but all I see are errors with scripting and prefabs

near bronze
#

What I'm trying to do is play and pause an animation, and I have a parameter set up as a multiplier of the speed in that animation, then a separate gesture should change that paremeter. I thought I had everything set up but it doesn't seem to cooperate. Does anyone know what I'm doing wrong?

digital pulsar
#

Hi all, how can I set up particles collision only with avatars for make blood when i shooting people with my weapon? and collision with only world for another particles, for example, to generate grains of sand.

near bronze
#

You have to add a vrc world descriptor, then go to the build control panel and it'll give you the option to set up your layers or something. Then in collision you'll see the right layers that vrchat uses, including players. Then you just have one particle collide with players and subemit blood, while another collides with everything else to subemit whatever else you want

digital pulsar
#

Can I add world descriptor to the avatar? Is it possible?

near bronze
#

Nah, make an empty game object and add world descriptor

#

You'll have to make your avatar inactive temporarily or else the build control will get mad when both are present at the same time

digital pulsar
#

ok, ty, i'll try it

summer berry
#

Supposedly all game objects on an avatar are switched to the same layer. Also, particles can only collide with colliders. Avatar colliders are local only and it’s the giant capsule that surrounds someone when you point with the menu. I don’t think you can distinguish between avatar hit and world hit. Someone should prove me wrong though.

near bronze
#

You're right, the only thing other players can interact with is the bounding capsule. Any colliders someone puts on their own avatar will be entirely local.

#

But world particles launched from one avatar, specifically told to interact with players, will be able to

#

Afaik they won't act like colliders in the same sense solid objects do, I'm pretty sure they'll just act as triggers

#

But yes, you absolutely can distinguish between player hit and world hit, it's just that player hit in this case means that giant capsule, not their mesh or anyting

frigid nymph
#

has anyone an idea where i get the original female idle animation of vrchat my issue is that i wanna setup an idle animation for VR which is supposedly used as a second animator for body movement on my character to give it more realism (ears jiggling and stuff) however while the IK overrides most of it anyway it stays for the hand movement and i think some parts of feet which are still used in FK which is why I look for the default positions on that as they're feel very smooth

near bronze
#

If you want to set up ear jiggling, it'll be easier to have that on it's own animation sepaprately

frigid nymph
#

but legacy is already used for the blinking

harsh nest
#

@frigid nymph you can have multiple legacy animations on different gameobjects

#

add another Animation Component to ears root, duplicate your avatar, remove all Animator and Animation Components except the one in ears root, use animation window to record ears jiggling

frigid nymph
#

@harsh nest thanks

novel lintel
#

So, I've been playing around with cloth physics(Not dynamic bones), and I think I've figured out why they break When a model is spawned into the world, it's spawned at a specific coordinate every time on frame one, and then dragged across the world by frame 2 and placed where I'm standing. This causes my dress to go nuts and clip through my colliders and look goofy. This dragging also happens when I pass through a door that teleports me from one area in a map to another, and has similar results.

I've found a fix, of sorts, but it's a bit inelegant. A custom animation that disables and re-enables the cloth mesh will reset where the cloth is supposed to be, and stop it from being outside the bounds placed on it by your capsule colliders.

Can anyone think of a more elegant solution for this?

manic cloud
#

put a huge sphere coll above your dress so it doesn't get stuck behind/in front @novel lintel

warm niche
#

Do i have to do anything special to do a 2way camera/screen/audio for separatw occlusion zones or just do it normally and it works?

warm niche
#

Regarding SendRPC (Teleport to), is there no way to make an object spawn in at certain orientation. It should spawn at the same orientation as the empty teleport but it doesn't.

sand canyon
#

Correct @warm niche

#

You can add a parent with a rotation transform to help. You can also put a LookAt component on the item that you pulse on quickly after the teleport.

#

I really wish they would fix it.

warm niche
#

Add a parent to the Empty teleport? Already tried that, didn't work.

sand canyon
#

In the thing you teleport. Make an empty. Put thing inside with corrected rotation.

#

Not always possible.

warm niche
#

i need it to rotate in different directions though

summer berry
#

And this is why I always use the reparenting method instead of sendRPC teleport. I’ll need to make a quick tutorial on how to set it up.

sand canyon
#

Cyan has a better way that I haven’t learned yet

echo coral
#

What do you mean LookAt Component @sand canyon ?

sand canyon
#

That’s another thing in Standard Assets

echo coral
#

from unity?

sand canyon
#

It’s a camera utility.

#

Yes

#

All it does is make the object “look” at a target.

#

You can adjust the range of motion and speed. 0 is instant.

echo coral
#

oh dang. I guess I never thought about looking through Unity component scripts for stuff to use

sand canyon
#

Oh yeah, that’s where all the good stuff is.

echo coral
#

cool. So do they allow all things that can be installed as part of the Unity Asset -> Import Package process?

#

(that come with Unity)

sand canyon
#

Yes

echo coral
#

man, well that really opens a lot of doors

sand canyon
#

Vehicles, third person character, FollowTarget and LookatTarget

#

Cloth

echo coral
#

nice

sand canyon
#

The toybox uses the suspension component for the minimap somehow

summer berry
#

It makes sense when looking at the code. The name doesn’t really describe it. It’s basically given two objects, move the second one in its local space the same way the first one moves. If the second one has a small space, it can be used as a minimap. If it has a large space, you can do other things like move a game piece to move a larger part of the world.

leaden lark
#

Here goes my first attempt at trying to make it so sdk doesnt break playmaker

leaden lark
#

@sand canyon have you messed with pm yet

robust yarrow
#

I tried look at target on sprites a few weeks ago and had no luck, i'm wondering if i should have tried it on a parent game object or something instead. Also I'm not sure if my settings were correct either but at work so cant post a screenshot yet.

@summer berry looking forward to that tutorial for the alt teleport method

summer berry
#

Hopefully I'll make a tutorial for it on the weekend. I already explained half of it in the world channel by saying how to use animation events and clicking on buttons.

olive surge
#

Anyone have an experience similar to this? An avatar that I uploaded a few days ago with world particles worked fine. Today it seems to begin to cause lots of lag for people. I checked it and I didn't make any changes to it.

manic cloud
#

how many total particles, what kind (billboard or mesh), if collides - high or low, subemiiters? noise? if it lags people now then it lagged people before too

short crypt
#

I worked it out 😃

echo coral
#

Resources as in examples of how to do it?

sand canyon
#

@leaden lark nope. I bought it but have not. I may try it for a personal non-vrchat project in the meantime.

drifting egret
#

@olive surge any lights?

#

Lights will lag people the hell out

warm niche
#

how do i add scroll images on 1 material in unity?

#

like, where the images are still while u move around it stands there etc

olive surge
#

Oh

#

all it really is is a local particle for the glow around it and a few world particles for the trail, all billboard. No realtime lighting. No collisions on any of the particles. Max particles is set to very low. Emission rate is also very low. These are all standard particles from unity assets. Idk why it lags

#

and it's not fps lag, what it does is it causes a brief loading pause/screen for everyone around it whenever I switch to it (looking at it does not drop your framerate)

#

after the avatar itself loads everything is fine

#

and it's only 1758 tris btw

near bronze
#

Good to know

#

Shame we can't use regular old billboard renderers

olive surge
#

yeah.. guess I probably shouldn't leave that post there. '-' thinking about it, it's just another thing people could abuse

warm niche
#

do i need an asset in the unity store to scroll the images in a material?

olive surge
#

@warm niche maybe try Tiling and Offset values?

#

or do you mean like a moving image on it

autumn hatch
#

You can try to find any scrolling UV shader and use that

warm niche
#

is there a tutorial for it ; v; im not experience with unity

olive surge
#

this has one for a moving texture overlay iirc

warm niche
#

tysm

olive surge
#

hm

#

it might not have exactly the kind of scrolling effect you are looking for though. Though it's maybe a good starting point since it was made using shader forge so you can look at how they did the scrolling and see if you can't do something similar

#

I mean just looking at it, and I don't know anything about shaders, I think you can just replace the Rotator with whatever you want

#

it's under UV Operations

warm niche
#

how do i import the scrolling things into the model?

#

nvm i got it ^^

olive surge
#

ah k. I didn't check this message for a while lol

warm niche
#

As of the most recent vrchat stealth update UNITY cameras will no longer render for non-friends. What this means for creators and shader devs is that some projects have been drawn to a halt until we can get something implemented to allow us to continue using them. Unity cameras are responsible for many beautiful and amazing effects that aren't very intensive at all. Due to recent abuse of a bug they've added the current measure to make them friends only. We propose that they instead implement a togglable option in the menu that allows users to decide what they can and cannot see, with the default setting likely being friends only and being able to change to All and None as well. Alot of people have poured their creativity into these effects and would really appreciate your help! Examples of effects using cameras can be seen below.

GPU Particles: https://youtu.be/nnII1SOe7Oo
Inventory System: (Video Coming Soon)
3d Scanners: https://www.youtube.com/watch?v=YynhrFA8pUA&feature=youtu.be&t=5m44s
Game of pong on an avatar: https://clips.twitch.tv/FaintColdbloodedPheasantDatSheffy

Please vote on the Canny below if you support this.
https://vrchat.canny.io/feature-requests/p/toggle-for-friends-only-camera

fierce python
#

^ Sticky this, man i dont understand whats behind all this bit restricting users are making the game bold...

hearty lantern
#

They already tried with particle systems. But it hit too many users too hard and they couldn't handle the push back so they removed the limits a day later.

#

This will only really affect the more complex and dedicated end of the creative community, so I doubt this one will be rolled back on.

runic mauve
#

best option would go to toggle system instead limit what people can do

hearty lantern
#

Yep

#

But it took them a month to let us toggle vive movement

#

So don't expect anything done fast

#

It's not the vrchat way

fierce python
#

They are most likely working on a system to add these options more easily, but as of now they should just let the disablement they added revert until they manage the toggle options.

hearty lantern
#

I don't know where you got your information but I doubt it.

#

And I doubt that toggles are on their priority list right now.

fierce python
#

The first statement is just a pure guess, but it should already be in the works if they respect the users.

hearty lantern
#

If.

fierce python
#

Look what i wrote, i stated that already.

hearty lantern
#

I was repeating for emphasis.

#

I don't think that cameras were limited to friends only because people used them maliciously

fierce python
#

That is true

#

I should delete that post, i thought it disabled alot of my shader edits like grab pass that uses the direction of eye cameras, and stuff like that.

#

Damn they need to write what is updated rather than just sneaking it inn to an update. I think there is lots of miss understanding going around now, i got confused of what was going on, since i just started to experimenting with shaders and reading lots on what these nodes on Amplify Shader Editor does it seemed like the camera would prevent lots on it. Im just touching the surface right now and it would be nice to clearly get an understanding behind what will happen without it on, but toggle option is still what i want, don’t want any restrictions. :p

normal aurora
#

How do you even use a camera maliciously

summer berry
#

We probably shouldn’t answer that in a public channel.

normal aurora
#

I mean, it’s just a camera. I could understand it if you also had to do some kind of screen space rendering along with it

molten coral
#

...cameras can be used for different purposes.

hearty lantern
#

I really doubt people actually use cameras maliciously

#

You don't need to.

#

it would be unneccesarily complicated to use cameras to mess with people

#

when disruption shaders are so easy to find

fierce python
#

You can use it along with some awesome effects that was just being touched upon, ive seen some players use cameras too create an hightmap on some shaders like a scan, was cool.

hearty lantern
#

This change won't affect malicious users at all

#

only legitimate ones

#

But then so did particle system limits

fierce python
#

Dudes, i removed that statement from my comment so we should stop talking about it.

hearty lantern
#

I'm just making a point, not attacking you personally

#

chill out

fierce python
#

No, not aiming directly at you in the same way, but still don’t need talk about it, i didn’t know i was lying there but removed it after i dug up a little bit more information, so should the others.

drifting egret
#

So far, I've only seen cool things being done with cameras. The only thing that could be somewhat malicious is some guy who could "take out" your left eye and make you see stuff from another viewpoint in your left eye. Admittedly, this was cool though

#

But actually malicious users aren't gonna be using cameras for this stuff anyway, as evident by the Pug raid from yesterday.

fierce python
#

...

harsh nest
drifting egret
#

Oof, the wireframe is actually something I've been needing

#

Thanks

north dust
#

yo

#

for everyone here

#

I am calling a hit out officially

#

I will pay 100 dollars to whoever can make a shader that makes dynamic water. as in say a character is made of water. when i fling my arms back and forth, i wish for water to splash and fling off my arms like, well, like water

#

dm me for examples of the goal in mind if interested

summer berry
#

Can't you just do that with some particles, distortion, and dynamic bones?

near bronze
#

woops wrong ping sorry

#

@north dust

violet light
#

no problem ❤

normal aurora
#

is there an existing shader implementing a kind of volumetric fog where the density is greater at the bottom of the volume?

#

I've been sketching out the maths I 'd need to do it and it seems to come down to figuring out where a ray exits the shape. I just have no idea how I'd do that at the moment

#

I think I can do it if I can assume a certain shape. so doing a cube would be easy 🤔

opal lake
#

hey, when ever i put the vrchatsdk into the unity 5.6.3p1 i get operating system based errors

#

is there anyway to fix this

#

i am trying to put together a model

frigid nymph
#

anybody know the method to make an object only local visible like a cube or plane? for example to render a local camera on a local only object

summer berry
#

If it starts off, you can add a button that turns it on just for that person.?

fierce python
#

Is it world related or avatar related @frigid nymph

drifting egret
#

@frigid nymph yeah

#

You can put a particle system inside yourself that collides with PlayerLocal

#

Which then triggers a subemitter that spwans whatever you want to make visible

#

Keep in mind that other people will see it for a few seconds if they walk into you

#

I used a setup like that so I could see my own hands even with stencils

opal lake
#

anyone know how fix the error moving file error

sand canyon
#

what exactly does the error say?

hoary iris
#

@harsh nest very interesting way to draw a wireframe, thanks for sharing!

harsh nest
#

@hoary iris thank mel0n for the idea

frigid nymph
#

@drifting egret thanks

lean meadow
#

Is anyone knows name of a shader with just fantastic space/nebula animated textures/cubedmap/skybox???

barren basalt
#

Hey, I would adventure into the world of advanced development, but I'm at a loss as to where I'd start with this concept:

Is it possible to have an audio source (for example a microphone) to take input from the user and send it out as a norm audio? To make like actual concerts in VR possible?

Sorry if it's not explained well, I'm shit at putting thoughts down.

fierce python
#

An adapter of some sort, have not seen anyone using anything like that before so i would say no.

But starting from one end and checking out inspirations and search your knowledge from there.

Start with something you think is easy, and go from there.

#

When i was starting out as a first timer here i never touched Blender and Unity, but started exploring that from November last year, now i have a basic knowledge of Blender and Unity and still want to dig deeper into the creation tools, there is so much to learn and there is so much creativity here, from Memes to Real-like renders. Keep on digging into this Rabbit hole!

barren basalt
#

Yeah, I figured I'd see if it was possible, maybe get a starting point, and then send out the model for the mic + all the comps to the people i know that sing in vrc

fierce python
#

Ah thats nice, making a prefab of a microphone?

barren basalt
#

Yeah, thinking of making a mic that has a speaker on it so it's more realistic. I want to give back to some of the people that actually got me into vrc... namely chips and his group

fierce python
#

Mhm, its so nice meeting those type of people, though i don’t think there is any way of linking sound to the microphone... maybe there will be a component that a map can use at a later date.

barren basalt
#

custom comps maybe

fierce python
#

Ye that would be your best bet, like a custom vrc component

near bronze
#

Do unity cameras also capture audio? That might be a route to take.

#

The question is how to tie it to an audio component. Shaders are able to plug into cameras, but even if cameras did have audio, how would you get an audio component to use it

barren basalt
#

Phase I don't think they cap audio. I am probably going to have to write a custom script to accept system default mic input and have it export to the audio source

fierce python
#

No custom scripts allowed, but you could front the vrc admins with one and they could whitelist it maybe

#

But not before accepting it through the icanny system i believe.

#

Like adding a source that ties to your microphone that acts as an audio-source that has a ways to custom create echo or room distortions, or other effects. Would be cool to have ingame.

#

I would support it

barren basalt
#

Yeah, I'll do some demo'ing and see what I can do. It's been ages since I programmed but I still remember quite a bit.

#

I've already sent the hello email a message so maybe I can speak with VRP directly about adding it as an accepted script

normal aurora
#

there's a world which plays back your own voice delayed as an echo...

#

I had wondered how it works, and there's a note on the wall that it only works if your avatar has lip sync

#

maybe someone who knows unity could use that clue to determine how they're doing it

sand canyon
#

Like the reverb?

normal aurora
#

I can't remember if it was doing any kind of effect to it

sand canyon
#

I was in a world like that once too. Only my own voice was reverby

normal aurora
#

yeah... this one I'm thinking of also did it only for the local player

#

but the point of the world was a test world for your own mic so it would probably have been done like that whether or not it would work for everyone

drifting egret
#

No idea why it would only work if you have lipsync

#

Maybe some really weird logic to detect if you're talking

normal aurora
#

bugger, my transformations are off somehow

#

I guess this just means it wasn't a cube map at all

final wigeon
normal aurora
#

oo!

#

so it's probably the equi-angular cubemap plus the quirky way they are laying it out

final wigeon
normal aurora
#

ah, i'm surprised even the tracker for youtube-dl has talked about it, because it's what I used to get the video in the first place

#

it's the one place I didn't think to search 😐

final wigeon
#

Once I found the name of the projection type (Equiangular Cube map, EAC) searching google for this stuff got a lot easier.

normal aurora
#

yeah, I couldn't even figure out what the layout was called initially, until someone pointed out that it's just a weird way of packing a cube map

#

if you unfold it differently, it's like an old football cut down the seam

#

what I'm still not sure of is why they couldn't have used an existing supported layout like 6 frames across, with left eye above and right eye below. 😐

#

then at least the maths to get the right face is already well-known. I had to do it from scratch

final wigeon
#

google/youtube
things that make sense

Ha ha ha ha

normal aurora
#

yeah. 😐

#

as it was I had to programmatically flip 3 of the 6 faces after offsetting them

#

I'll figure out a way to convert it to a matrix transform at some point

normal aurora
#

crud, it's still hard to align because they did the dumb thing where different faces have different orientation

#

thought it would be possible to bash something together in half an hour or so but looks like I'll put it off for a decent chunk of time

gray skiff
#

Does anyone know how to make a videoplayer emit light based on video in the world?

normal aurora
#

it's something I've been meaning to make for a while, but I think 4 video screens is probably overkill as you could totally pack all three into one material and animate a shader property to select what kind of 3d to use

sharp burrow
#

You would have to rewrite the shader for it then

normal aurora
#

yeah it isn't very complicated though, I had written a left/right stereo one myself independently early on in order to display screenshots

normal aurora
#

there's an interesting symmetry in the maths for these transformations from UV coords to the final UV coords in YouTube's layout. because all the left-tipped squares are on the left, the translations for all 6 cube sides are (1/4,k/3)

#

let's not start calling it a nice layout though

#

anyway I think I have the maths right on paper, I'll just have to wait another 24 hours until I can get enough time to try and turn it into code

normal aurora
warm niche
#

I got a problem with my video player. It works when i open up a new instance with nobody in it, but if i join an already existing instance with someone in it, the video player doesn't play, the screen is black. It's an Enable/disable video player and everything is set to local. This is what i have... https://i.imgur.com/SMzpm1y.png

dusk quartz
#

Hey all- still makin progress on my Mocap suit. Anyone with C++ experience who could help me write an abstraction driver via OpenVr, your help would be much appricieated! This video shows me syncing up the suit with VRChat vi the new stream camera, but I just need a few final steps to get it working in-game.

Anyone with some experience would be a lifesaver, I am a dumb dumb! https://www.youtube.com/watch?v=enM3AUyizvY

warm niche
#

So target has to be set to owner for the video player? I've got it currently set to local, maybe that's why the screen is black?

warm niche
#

I gather all the other things have to be set to AlwaysBufferOne?

woven bay
#

Anyone have any ideas on how to get a live video stream into VRChat?

normal aurora
#

@woven bay aside from web panel and flash?

normal aurora
#

here's where I am with the EAC shader so far. I more or less collapsed all the matrix maths I was doing down to single matrices and fixed the clamping. There is still some kind of issue where it's offset by a tiny amount between some pairs of edges which I'm not quite sure why it's happening. https://github.com/trejkaz/EACSkyboxShader

frozen pike
#

Nice

normal aurora
#

I will now try to park this work while I make a mad sprint to fix all my avatar problems

drifting egret
#

I have a mesh particle that I would like to enable GPU Instancing on

#

I gave it a material which supports instancing, and has "enable instancing" ticked in the shader settings

#

But GPU instancing still isn't available as checkbox in the Particle System's renderer module.

#

This even happens with Standard

warm niche
#

Has anyone considered using BCI Chips to use instead of these clunky controllers? For instance, when I think about walking it makes my avatar walk

near bronze
#

I'm sure plenty of people would love that, but the technology isn't there yet

warm niche
#

OpenBci is available and actually pretty affordable. I have one here in my room, only cost around $200 I believe

near bronze
#

We already have decent enough sensors, it's the science and software behind interpreting all of that data that we still need to figure out. It works great for diagnosing medical conditions and basic toys that sense when you "focus", but what would you even look for to control VR? Idk exactly how far along that kinda stuff is, but at most you might be able to think "walk" and be able to walk. But would you have directional control? Hand presence? Gestures? Arbitrary buttons like menu? We're not even close to completely replacing controllers

#

obviously it's a very new field and the more eyes on it the better, but I don't think it's as simple as "has anybody ever considered X possible use?" It's kinda making light of how complex it all is

warm niche
#

Have you seen where people control their computers and drones with it?

#

You record a pattern and set that pattern as a function so when I think spin right, it will tell the computer to tell the device to spin right

#

Brainbay is one program I have been messing with for this

#

It has oscilliscopes and everything built in, pretty nice. Then you hook it all up on a diagram

near bronze
#

So every single movement and button press has to be a distinct, separate thought? Sure that'd be great for augmenting on top of existing controls, but you're still nowhere near to actually replacing controllers

warm niche
#

Maybe not replacing controllers entirely rather than adding on

#

especially for complex customization

#

Also when can we have drones bring us drinks in real life at the virtual bars haha

short wolf
#

Is it possible to integrate custom software to control facial expressions?

#

Can I control the avatar eye tracking using custom hardware?

#

@warm niche haha I see you're curious about BCIs, I was asking because I wanted to integrate an EMG/EEG-sensor I've got.

warm niche
#

where does it attach? Is it an emg or an eeg haha

#

@short wolf

#

I haven't picked up an emg yet, that is soon to come though! I'm working on a game right now where the integration of the emg would be nice

#

Y'all are going to think I am a physic once I accomplish what I am envisioning with the eeg

short wolf
#

Both.

warm niche
#

does it hook up to your head only or other places as well?

short wolf
#

Head, haven't tried it with anything else.

warm niche
#

How many inputs does it have

short wolf
#

Ocz Nia.

#

😛

#

@warm niche is it possible to use custom input though?

#

I'm trying to build a one of a kind rig here.

#

😊

warm niche
#

For your computer or your chip

short wolf
#

For avatars, like controlling rotation of bones.

warm niche
#

Oh yea for sure

short wolf
#

Oh nice, there's a tutorial for it?

warm niche
#

it's going to take some programming

short wolf
#

Oh yeah that's no problem.

coarse kraken
#

What kind of shader would I be looking for to pit on an expanding sphere, so that it will overwrite world textures around me?

warm niche
#

Well you ought to look up a tutorial for controlling arrow keys with your eeg and then take it one step at a time from there. See if you can get that working first and then you can assign further buttons

short wolf
#

@warm niche arrow keys are easy. Would I like have to use C# in Unity or something?

warm niche
#

Yea that's what my friend was pointing towards @short wolf

warm niche
#

I'm calling it now, the video player is shite, it just doesn't work with more than 1 person in the room.

dusky drift
#

It does work, though :V

warm niche
#

Well mine doesn't.

#

It absolutely refuses to sync with the one who started the player.

#

I posted screenshots before and nobody is able to help me. I 'll try posting again.

dusky drift
#

I could take a look if you want.

warm niche
#

It might be better if i describe it.

warm niche
#

All the VRCVideoSync's are turned off by default, there are 70 different VRCVideoSync playlists altogether, with each one having about 14 songs or less. https://imgur.com/cdVRKsz I press a button and it turns on the jukebox. The jukebox has 5 pages, only one page is displayed at a time, on each page there are 14 triggers and 14 buttons to activate each trigger. Each box collider is set to "Is trigger".... This one makes sure every player on the page is turned off... https://imgur.com/mBocHyd This one turns the player on.... https://imgur.com/2Xwlv3i

hybrid raft
#

In the first imgur link you posted there's a little exclamation point that says "Will execute on the owner". What does that mean?

warm niche
#

It will execute for the owner only, i've tried setting that to local but still the same.

#

owner of the world i guess

hybrid raft
#

That might explain why it breaks when there's multiple people... Idk how to change that though

warm niche
#

Do i need to set the owner each time a button is pressed? Not sure how to do that.

hybrid raft
#

So to be clear the drop-down for targets only has Owner and Local? And local doesn't do anything?

#

You can change owners by adding object sync to it and using the RPC call that comes with object sync. Sometimes you need to add pickup to the object too and just uncheck pickupable.

warm niche
#

I think Local does the same as Owner, doesn't play the video, screen is black.

hybrid raft
#

Are you on the latest SDK with the new changes to the video player?

warm niche
#

Ah shite, got the wrong SDK... 2018.05.04.09.53

#

And anyway i thought it wouldn't allow me to upload with an old SDK.

#

I thought they had changed the way they do that.

#

I'll update that asap, thanks.

hoary iris
#

@normal aurora Thanks for sharing! Thank you for putting in all those comments, helps understanding it alot.

normal aurora
#

I had to put them in to explain it to myself while I was writing it so there is probably like 3 times more comment than code lol

#

unfortunately what I didn't have time to do was show the maths I used to get the matrices

#

but it was pretty much (1) figure out what orientation you start with (2) flip diagonally if positive is false (3) tip the left three cells left 90 degrees and then translate them right by 1 (4) plug that series of matrices into mathematica in reverse to get the single matrix to use 😉

#

the transformation is still off subtly so I'm thinking maybe the real thing actually scales away from the edges instead of using clamp

#

separately... I have been writing a parser for the mesh format youtube are storing inside the mp4 itself

#

it seems like these videos are something we can only ever implement correctly if we have full scripting, because we're supposed to read the mesh out of the mp4, convert it into a mesh unity can use, and map the video texture straight to that mesh

hoary iris
#

is the mesh different for every video? wouldn't it follow a format? We would only have to read it once and recycle it

warm niche
#

@hybrid raft Think i solved it. It still had the black screen after i updated the SDK, so i did some tests on the buttons. If i press a button many times in a row, it stops the video from playing, screen turns black, no audio. After the bug takes effect it prevents all the videos from playing. Anyway, i guess an easy fix would be to put a two second delay on each button.

hybrid raft
#

Lol

#

I'm glad you figured it out!

sand canyon
#

The trigger delay--does it merely delay the action, or does it act like a cooldown?

#

SO if you spam a 2s delay button, does it still spam everything just 2s later?

#

I did discover that OnTimer "executes" its action as soon as it is activated, just on a delay. Even disabling the object its on won't interrupt its future action.

warm niche
#

Not sure what the delay in seconds actually does but it doesn't seems to work in my case, going to have to enable/disable an OnTimer. Just tested it and it works.

#

You need to disable the button with an OnEnable just before the timer kicks in.

#

then turn it back on when it's finished.

magic cloak
#

If I deactivate the the box collider of an sphere, can i activate it again by passing trought an sphere which is an trigger ?

sand canyon
#

no collider = no collision = no way to tell unity to do anything.

#

child collider could stay active though.

warm niche
#

@hybrid raft Spoke too soon, i'm still getting a blank video screen when i join others in my world, i've got everything set to local.

#

Doesn't look like 'local' target works and just defaults to owner

warm niche
#

i just give up.

drifting egret
#

How do those compute shaders work in this game? The ones that run on the GPU

#

Okay, that's a little bit of a broad question. Let me ask that again: how do they manage them?

#

I know how they work in Unity, but you usually need some sort of script to manage their creation and movement over time.

#

Even if it's just passing the delta time along

#

But scripts don't work in this game

hearty lantern
#

I'm assuming it's all done in the shader code

drifting egret
#

I'm just wondering how Compute Shaders come into play there, and if they're even used

#

Since normally you'd use computeShader.Dispatch with some data in the Dispatch call, but that's probably not possible from a regular shader

hearty lantern
#

I've only briefly looked into them

#

I need to look at them some more

drifting egret
#

It's odd, the Unity docs say that compute shaders can be invoked using scripts (no mention of literally any other method). And yet I know people are using them somehow.

#

So I think they're still using regular shaders

dark sigil
#

I thought compute shaders required some dependencies that you can't access in vrchat

drifting egret
#

Well, I've seen people do stuff with them for sure

#

Or at least, something that looked like a compute shader and did not have any impact on performance (despite the existence of millions of particles)

#

Friend of mine is releasing a world with one of those "attractors" you see sometimes

#

The question is if it's an actual compute shader or not. And considering you need scripts to use them, I actually doubt it

#

Frustrating thing is that I know exactly how they work, and I can produce working examples within Unity

#

Just can't figure out how to get them into VRC

dark sigil
#

by attractors you mean like having a bunch of particles go to a certain point?

#

I remember hearing someone talking about using cameras for coordinates inputs and such

#

not sure how they worked that out though

drifting egret
#

Yeah, I think my friend used cameras for that as well

hearty lantern
#

He does

drifting egret
#

Although I'm not sure if the camera was actually used to "attract" the particles to his hand, but he used one to capture an image of whatever he was looking at. I thought I would start out a little simpler than that and just generate vast amounts of dust particles in the air

#

As test

#

Like, single colored points. They don't have to move to any specific position (or even move at all)

hearty lantern
#

I know that render textures are used to hold information

#

basically like variables

drifting egret
#

I'm guessing it's actually just geometry shaders

#

Yeah, it's definitely a geometry shader of some kind. Guess I'll have to forget all about compute shaders

merry coral
#

I need some help with an avatar

#

I have a fixed joint

#

and I want it to spawn on where the avatar spawns

#

but for what ever reason it keeps going to 0,0,0

#

anyone know how to fix that

near bronze
#

Does the rigidbody of the joint have any of it's axis or rotations fixed?

merry coral
#

I just assigned the fixed joint

#

so nothings been messed with

merry coral
#

I just applied the fixed joint to the object

near bronze
#

Oh, do you have a rigidbody to assign it to?

#

like on the hand

merry coral
#

well the thing Im trying to pull off is have a doorway spawn to where my avatar spawns in

#

and have the ability to walk around it

#

so if that gives you an Idea

#

what should I be doing

#

or if its even possible

near bronze
#

Oh, you could use joints for that to make a world object, but it would probably be easier with a world particle

merry coral
#

mmm

#

I tried particles

#

but it only showed green crosses

near bronze
#

Idk, probably wrong texture or model or something

merry coral
#

mm

#

but how would one pull it off with joints?

warm niche
#

put an empty game object outisde the armature

#

slap a fixed joint to it

near bronze
#

I haven't personally done joint based world objects, but I have done a bit of work with joints in general so I'll assume how you'd do it. Someone correct me if I'm wrong. First and foremost, you'll have to have a rigidbody to assign the joint to. Just have an empty gameobject or something out in front of your avatar. On that rigidbody, open the constraints drop down and check all the boxes for freeze rotation and position. Then disable gravity. Also disable gravity on the rigidbody on the door, but don't freeze anything on this one. At this point the door should now follow that gameobject around.

merry coral
#

illl try what svelsein

near bronze
#

To make it lock position and be a world object, I would assume all you do is, through a gesture, set the mass of it to be super high, like 1000. The key here, since you also want it to appear and disappear, is that you cannot disable either of the components with a rigidbody ever, otherwise it all breaks. In order to make it appear, you'll have to activate something under whatever fixed joint you have.

merry coral
#

@warm niche does it matter where the empty game object is

warm niche
#

outisde the armature

merry coral
#

ik

#

but in the scene

#

does it matter

warm niche
#

yes

near bronze
#

Oh it still has to be in the model

#

sibling of the armature

#

otherwise it won't upload

warm niche
#

@near bronze also your method is way too hard mah dood

#

it's a lot easier than that

#

gimme a sec

#

just finishing my game, i'll show you some screenshots

near bronze
#

maybe I took too long to explain it, but it should just be as simple as making the door appear and setting the mass high

merry coral
#

mm

stray spear
#

is there a way to get the softness of the fade and transparent alpha cutoffs, but while keeping it solid like cutout?

warm niche
#

@merry coral so, to be clear, you just want to spawn a door at your position and make it stay there, right ?

merry coral
#

yeah

warm niche
#

alright

#

fixed point is where the object should spawn relatively to your avatar

dry grove
#

Curious if anyone knows the answer: when I use the first Transform option when making custom animations, when opening menus in-game the avatar flies off to the world's 0.0.0 coordinates. Is there a way to fix this, other than not using the first Transform option?

warm niche
#

the drag or angular drag can be set to infinite so the object doesnt vibrate

#

but i didnt test that myself, just heard that from somewhere else

#

now, since vrchat is garbage

#

the fixed point got an animation on it

#

looping constantly and it's basically setting the fixed joint to position and rotation 0, 0, 0

#

when you spawn the object (my cube in this exemple) you disable the animation component

near bronze
#

Really, I've never run into that problem, is it specifically for world objects?

warm niche
#

yes

near bronze
#

oh ok

warm niche
#

also the animation file needs to be set to legacy

#

and looping

near bronze
#

Well as I said,, particles would be much cleaner anyway

warm niche
merry coral
#

ok so the fixed point is connected to my avatar

near bronze
#

And would allow you to point and throw the door exactly where you want it

warm niche
#

@near bronze yeah but for a door model, you need mesh particle, and you cant rotate those

merry coral
#

and the fixed joint is all set up

warm niche
#

so whole hierarchy of the fixed point --> fixed joint is outside the armature

merry coral
#

the cube is attached to said fixed joint in the hierarchy

#

mmm

near bronze
#

It could still work, but fair enough

merry coral
#

should It be like this

warm niche
#

yes

merry coral
#

mmk

#

so I made the fixed joint look like yours

#

now what

warm niche
#

create the reset animation

merry coral
#

?

warm niche
#

?

merry coral
#

there needs to be an animation

warm niche
#

yes

#

look at the fixed point screenshot

merry coral
#

ok

#

so what do I need to do in the animation

warm niche
#

what i said a bit up

merry coral
#

just turn the animation off on the model and on on the animation?

warm niche
#

the animation on the fixed point is there to reset the position of the fixed joint to 0,0,0

merry coral
#

ok animation done

#

now drag it to the fixed points animtion tab

warm niche
#

did you set it to legacy and loop `

#

?

merry coral
#

oh

#

one min

#

how do I set the animation to legacy

#

its set to loop

#

does the door need to be set to legacy?

warm niche
#

just the animation for the reset

#

check the gif i provided a bit up to see

#

i already explained all you asked

merry coral
#

mmmm

#

there is no option for the animation to be set to legacy

warm niche
#

yes there is

#

just follow my gif

merry coral
#

Done

#

Now should it be good

warm niche
#

i dont know

#

did you do the rest ?

merry coral
#

I should have

#

Got the hierarchy correct

#

Set the fixed joint to what you showed me

#

Made an animation

#

Set it to legacy

#

And have it set to loop

warm niche
#

and loop

#

now

#

when you spawn your object

#

you just need to disable the animation component of the fixed point

merry coral
#

Uhh

#

Ok

#

It's disabled now

#

But doesn't that render the animation useless

#

If the animation tab is not on

#

How will the door reset

#

Do I need to make another animation to have it turn on

warm niche
#

?

merry coral
#

Cause if the animation tab is disabled

warm niche
#

you disable the animation only when you spawn your object

#

it will activate again when you stop holding the hand gesture

merry coral
#

Mm

#

So I do need another animation then

#

Or do I assign the reset to a hand gesture

warm niche
#

yes

#

how are you going to spawn your door?

merry coral
#

I wanted it to spawn in with that avatar

warm niche
#

then do the inverse

#

make the animation disabled by default

#

and use a hand gesture do activate it so it reset the position of the objects

merry coral
#

So when the thing resets it will reset to where I am correct

warm niche
#

yes

#

more exact

#

the fixed joint will be moved to the fixed point position

merry coral
#

Ahh

#

Ok I'll test this out thx

#

Didn't work

#

Oh well

magic cloak
#

is it possible to change the Talk distance from Specific Users ?
As example they hit an colider and get distance 1 , hit other colider and get distance 10

strange gorge
#

Hello, since i downloaded the new sdk i alway get some red issue,
even without anything in the project just putting the sdk..

#

Target not supported, switching to one that is.
UnityEngine.Debug:LogError(Object)
EnvConfig:SetBuildTarget() (at Assets/VRCSDK/Dependencies/VRChat/Editor/EnvConfig.cs:517)
EnvConfig:ConfigurePlayerSettings() (at Assets/VRCSDK/Dependencies/VRChat/Editor/EnvConfig.cs:176)
EnvConfig:ConfigureSettings() (at Assets/VRCSDK/Dependencies/VRChat/Editor/EnvConfig.cs:160)
EnvConfig:EditorUpdate() (at Assets/VRCSDK/Dependencies/VRChat/Editor/EnvConfig.cs:133)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

#

someones know this issue?

odd fable
#

@sterile cipher VRC has GPU skinning enabled right?

sterile cipher
#

Not a clue actually

odd fable
#

we've been brainstorming some ways we can run events with 50+ people that don't involve switching to vulkan or dx12 😛

sterile cipher
#

At that point ik and voice is a bigger CPU drain than graphics

odd fable
#

you can check in the target options somewhere

sterile cipher
#

I'd check, but I'm not at home :)

odd fable
#

if GPU skinning is disabled it'd be a pretty big win to move that over

#

it's d3d11-only in unity

steel swallow
#

interesting, so GPU skinning works using a vertex shader

odd fable
#

in older engines you'll see skinning done directly in the main vertex shader, but in unity (which requires d3d11 for gpu skinning) they're using a modern technique where the skinned vertex shader doesn't output to the rasterizer, but instead writes the result into a local vertex buffer that's used for the actual draw

#

so there's no change needed to your regular vertex shaders 😄

#

and also then multiple draws in the same frame can reuse the skinned vertex buffer (there are almost always multiple, in shadow maps, extra cameras, mirrors, etc)

#

the point of all this being to prevent uploading the skinned mesh to the gpu every frame

#

which is quite a bit of work for the cpu to do

glossy onyx
#

It seems that VRC does mostly use CPU instead of GPU. I changed my GPU from a relatively weak to a stronger one and it did not make too much of a difference

runic mauve
#

yea it all CPU base vrchat not in high in graphic

#

every thing that running backgroud of the program slow it down from Particle, Dyanmic bone, Material, voice,Ik Network

drifting egret
#

And draw calls

low peak
#

Well then, offload dynamic bones and Opus to the GPU

rough sleet
#

@low peak Offloading dynamic bones to the GPU is not a simple task. At the minimum it woud require writing their own compute shader version of Dynamic Bone and reimplementing the portion of Unity's transform class that Dynamic Bone uses.

There may also be performance issues with reading the results back from the GPU to the CPU because doing so is slow. However to avoid that you have to write your own GPU skinner to replace Unity's or apply the deformations in a vertex shader (which requires all shaders to be modified to add the necessary code).

#

Also VRChat is already using GPU skinning (I asked a Dev when I saw them yesterday.)

drifting egret
#

What you really want to do is offload certain tasks to another CPU thread

#

If dynamic bones or draw calls could both shove off into their own threads, that would help a lot already. Same goes for the voice stuff.

rough sleet
#

@drifting egret Yes, this is the goal of the Job system introduced in Unity 2018.1.

#

The Unity API isn't thread-safe so it can't be used outside of the main thread.

#

So moving Dynamic Bone to another thread still requires a rewrite of both Dynamic Bone and the portions of the Unity API it uses (like the transform class).

storm trout
#

i think it would be nice to be able to search for avatar cuz i have a little over 200 avatars and it takes a while to scroll through them all

fresh ermine
#

ayo! audio question for a world - anybody know if messing with the settings on Unity's native audio source component affects the ONSP that VRChat wants us to use. For instance: if I've messed with the spread, doppler, and/or roll-off in the native Unity audio source component - will those settings be carried over into the ONSP Audio Source beneath it and then be re-processed with the ONSP component's settings.... or does it completely void the native audio source component's settings in place of it's own processing for spatialization?

near bronze
#

It'll force it's own falloff curve, but most if not all of the other settings will carry over just fine.

odd fable
#

@rough sleet with source access you could hook into the unity skinning system pretty easily (tho unfortunately unity is pretty stingy with licensing source access of course 😿)

#

and to run dyn bones on another thread, you could simply copy the data at the start/end of the frame

#

it's such a simple script that it would take a competent programmer just a few days to implement

#

it already has a separate set of virtual particles it uses for simulation, and then applies those to the transforms at the end

rough sleet
#

@odd fable Dynamic Bone's Particle class contains a UnityEngine.Transform class which cannot be accessed outside of the main thread.

odd fable
#

right, but it doesn't actually need it as far as I can tell

#

it could be a new class

rough sleet
#

It does use it

odd fable
#

well actually looks like it already copies it to m_Position so it really doesn't need it

rough sleet
#

It uses the Transform class to traverse the hierarchy

#

also it uses InverseTransformPoint

odd fable
#

it builds that once at startup tho

#

which would be fine to be in the main thread

rough sleet
#

It also uses it to get particle positions after their parents have been processed.

odd fable
#

i don't totally follow that last bit

#

looks to me like it caches the parent index

#

so it could use a copy of the position

#

instead of the one from the transform

rough sleet
#

Particles are processed in hierarchy order starting with the root.

#

When a particle moves it changes the world space positon of all of its children particles

odd fable
#

right, which is sorted once at setup time

#

and then computed based off one input of the transform

#

so if you copy it once at the start of the frame

#

you can update the particles, then produce new values back for the transforms to be picked up by the main thread

#

this is how i've seen most physics systems built, and how i've implemented it in the past in our engine with physx

rough sleet
#

That isn't what it does though.

odd fable
#

copy data back and forth

rough sleet
#

It gets the particle's transform's current positon several times during the update

#

Ex. restLen = (p0.m_Transform.position - p.m_Transform.position).magnitude;

#

In UpdateParticles2

odd fable
#

right but my point is that it doesn't need to get it from the transform, it can get it from its own cache

#

since it's not mutating the transform until the end of the pass

rough sleet
#

@odd fable Hmm, I'm trying to remember what I ran into when I tried to do exactly what you're suggesting a few months ago.

mental narwhal
#

Well all that happens in LateUpdate anyway so that physics and animation can be processed first, so parallelizing might not help much.

rough sleet
#

Eh, you could add a one frame delay and have a whole frame to figure it out.

#

And with some (significant) architectural changes you could get better throughput than just throwing an individual set of bones at a thread.

mental narwhal
#

eww

rough sleet
#

It's not like it's a particularly accurate physics simulation as it is.

mental narwhal
#

haha, true

odd fable
#

it's naive verlet with like the simplest possible collision constraints 😄

#

it's already glitchy af

rough sleet
#

It's also coupled to its update rate

odd fable
#

true

rough sleet
#

It uses delta time but only to figure out whether it should run the verlet simulation

#

Also if the update rate is faster than the frame rate it'll run the verlet multiple times back-to-back.

odd fable
#

and yeah throwing it the full set of bones for the frame and processing them in one pass would help

rough sleet
#

Tach, I don't quite remember the issue I ran into that made me decide to shelve it but I want to say it was related to some dependency on Transform that would have required me to implement a bunch of transform/hierarchy code.

odd fable
#

hmm fair enough, some implicit transformations going on in one of the accessors maybe?

rough sleet
#

I want to say it was something to do with the localToWorldTransform matrix not matching

#

But I can't quite recall

#

I should still have the code.

#

At some point I'd like to look into writing a proper replacement, maybe one that runs in the job system.

odd fable
#

tbh I haven't profiled a busy party so this might be a small contributor anyway

rough sleet
#

Nah, it's huge.

odd fable
#

I really wish VRC was implemented on UE4

#

with full source access you could optimize the shit out of this

rough sleet
#

I don't, the stuff Unity has either in 2018.1 or coming soon is awesome.

odd fable
#

what are your fav new features?

rough sleet
#

Their new Burst compiler that's used for optimizing Jobs can produce code faster than standard C++.

odd fable
#

it does look very nice, though "faster than C++" is a stretch, since it all depends on how you write the C++

#

similar to people showing node.js is faster than C++ by not optimizing the C++ correctly

rough sleet
#

The way they've designed the Job system constrains it in such a way that they can make assumptions about your code that (Unity claims) would take a long time for a C++ compiler to determine.

#

Of course, they've just set it up that you have to write your code in a way that makes it fast.

#

"Fast by Default" is their goal

#

Of course if you hate data oriented design you're not going to like it.

odd fable
#

I really like how the industry is moving in this direction

rough sleet
#

Me too

odd fable
#

did you watch the Bungie talk on the rendering arch in Destiny?

rough sleet
#

No

#

I didn't know they did one.

#

The scriptable render pipelines are a huge deal too.

odd fable
#

well, Natalya, the graphics lead at bungie who gave that talk, left to work at unity over a year ago

#

and brought a lot of the ideas with her 😛

rough sleet
#

That might explain a few things

odd fable
#

yea, the job system is quite similar to the one from destiny

rough sleet
#

Interesting

odd fable
#

(there's also a separate talk about the overall job system which is more relevant to our previous discussion, while this one is focused more on rendering)

#

(but this talk is much better and still covers a bunch of it)

rough sleet
#

I'd really like decoupled rendering and simulation for VR

#

Valve talked about doing it a year or two ago

#

No need for reprojection because the resolution is adjusted dynamically to avoid GPU bottlenecks and the render thread can always render a new frame with updated head tracking even if the simulation takes too long.

odd fable
#

yeah that makes a lot of sense, especially with the high visual framerates you want for buttery smooth tracking, but the relatively low simulation framerates you need for convincing physics

#

having different update rates for different things on the GPU side is also helpful too in VR, so you can e.g. update shadow maps less frequently, or update voxel-based volumetric lighting less frequently, or update skinned meshes less frequently, etc etc

#

you've gotten me more excited about unity again @rough sleet, I forgot Natalya went over until you mentioned the job system

rough sleet
#

Yeah, different rates for different things makes a lot of sense. Nvidia's even talked about doing raytraced indirect lighting in the cloud and sending light fields to PCs or standalone HMDs that trace the direct rays.

#

Some people scoffed at it due to latency problems but Unity's real-time GI system already has a fairly significant delay and people don't usually notice until I point it out.

odd fable
#

can't remember where now, but in some presentation I definitely remember seeing the results of a user study show that people are satisfied with some incredibly low framerate for GI

rotund python
cold minnow
#

what version of Final IK is vrchat using?

drifting egret
#

That's a good question

mental narwhal
#

Haskell FTW! heh (sorry, data-oriented design joke)

#

@cold minnow We are on version 1.6.1 ... 1.7 real soon (tm)

drifting egret
#

Bit of a weird question maybe, but is there a way to somehow pass Animator parameters to child objects?

#

On avatars, not in worlds.

#

I need a child object whose animation state needs to respond to my avatar's animation state

cold minnow
#

@mental narwhal thanks

#

also how soon™

#

I see in the changelog that the new version allows configurable arm length

#

will you allow us to use it so we can fix models with wrong limb proportions?

fresh ermine
#

Anybody know if we have an audio loudness spec / standard we should follow? It'd help to have a target for mixing audio for worlds, etc. I know Oculus' loudness standard is -18 LUFS, and that the devs implemented some form of audio limiting in one of the previous updates. Not sure if this was peak-limiting to force the game to Oculus loudness spec so they could get an eventual Oculus Store release or if it was just a rudimentary gain limiter for loud avatars that like to troll...

languid lily
#

Probably asking for a bit with it, but does anyone know if it's possible to have players locally spawn and despawn meshes as they interact with a trigger such as a room they are in despawns locally and spawn the next room locally when they use a door to teleport?

hybrid raft
#

Just set the trigger to local. I think you need the advanced checkbox and then the local option will show up in VRC Trigger

#

If you're doing this for performance reasons you might want to look into occlusion culling which is built into Unity for this purpose