Forum Discussion
lazydodo
13 years agoHonored Guest
Shader Optimization.
I was playing with the shader and wondered if it could be optimized. Lets start with the standard Shader float2 HmdWarp(float2 in01) { float2 theta = (in01 - LensCenter) * ScaleIn; // ...
lazydodo
13 years agoHonored Guest
I ran the tests on my office box (Geforce 210, low, low end $35 hardware) the speedup wasn't quite as big as on the 670 but still well worth it. Given you run the shader twice, it got the frametime down by almost a full milliseccond.
warpShader : 2.094713
Just Sample : 0.792888
WarpLookup : 1.597678
warpShader : 2.094713
Just Sample : 0.792888
WarpLookup : 1.597678
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago