Vivecraft

Vivecraft

5M Downloads

Performance issues with Satin

fayer3 opened this issue ยท 3 comments

commented

having a mod that uses satin, reduces performance heavily
for example Paradise Lost: https://github.com/devs-immortal/Paradise-Lost

this has likely to do with out render target changes.

happens in VR and NONVR, since we apply the changes in both versions

specifically this call is slow
https://github.com/Ladysnake/Satin/blob/e70b31afc3c3fac853985e8922a1cdf901beef73/src/main/java/ladysnake/satin/mixin/client/gl/DepthGlFramebufferMixin.java#L86-L93

spark trace of NONVR
https://spark.lucko.me/RNVrE9Syh3?hl=2745
spark trace of VR
https://spark.lucko.me/9eE0fVtiAm?hl=2314

commented

Is there a fix for it? Will it ever get fixed?

commented

current workaround, is disabling the eyestencil in the rendering settings

commented

fixed with 1.2.0, which autoimatically disalbes the use of the stencil buffer when satin is detected