- Home /
 
               Question by 
               parikshit123 · Apr 21, 2018 at 08:31 AM · 
                androidshaderstencilbuffer  
              
 
              Stencil buffer appears to be displaced when running on android
I'm using stencil buffer to mask reflections for specific objects only in forward rendering mode. It's working perfectly fine on PC when I write Ref 2 only for the back wall and compare in the shader using Ref 2 Comp Equal.
However, in Android the stencil buffer seems to be displaced. My phone screen is 1440p and I'm getting different results with different resolutions. Does anyone know how to fix this ?
PS : Attached results from PC (right one) and 3 different resolution results from Android (displaced ones).
[2]: /storage/temp/115446-android-reflections.png
 
                 
                android-reflections.png 
                (257.6 kB) 
               
 
                
                 
                pc-reflections.png 
                (254.2 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                