Skip to content

Hey gamers have you just been struggling to figure out how to do compute-shadery things in VRC so you can make gamer fuel?

License

Notifications You must be signed in to change notification settings

cutesthypnotist/VRC-Screenspace-Data-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenspace Data Example

Hey gamers here is an example showing a geometry shader encoding multiple per-vertex attributes into a grid of screenspace pixel blocks. This exports the data directly without the need for cameras.

This data is captured into a CRT through the use of a grabpass where a different shader can perform arbitrary computations on said data.

Then we read the result of said computations to mesh attributes when actually drawing the mesh.

img

Credits:

CNLohr: CRT read/write boilerplate.

MerlinVR: Functions for encoding and decoding screenspace data. See float3's gist.

Pema99: Helpful articles and tips.

About

Hey gamers have you just been struggling to figure out how to do compute-shadery things in VRC so you can make gamer fuel?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages