daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command(){
  2. #if ((rp_antialiasing == "SMAA") || (rp_antialiasing == "TAA"))
  3.             {
  4.                 path.setTarget("bufa");
  5.                 path.clearTarget(0x00000000);
  6.                 path.bindTarget("lbuf", "colorTex");
  7.                 path.drawShader("shader_datas/smaa_edge_detect/smaa_edge_detect");
  8.  
  9.                 path.setTarget("bufb");
  10.                 path.clearTarget(0x00000000);
  11.                 path.bindTarget("bufa", "edgesTex");
  12.                 path.drawShader("shader_datas/smaa_blend_weight/smaa_blend_weight");
  13.  
  14.                 path.setTarget(framebuffer);
  15.                 path.bindTarget("lbuf", "colorTex");
  16.                 path.bindTarget("bufb", "blendTex");
  17.                 path.drawShader("shader_datas/smaa_neighborhood_blend/smaa_neighborhood_blend");
  18.             }
  19.             #end
  20.  
  21.             #if (rp_supersampling == 4)
  22.             {
  23.                 var finalTarget = "";
  24.                 path.setTarget(finalTarget);
  25.                 path.bindTarget(framebuffer, "tex");
  26.                 path.drawShader("shader_datas/supersample_resolve/supersample_resolve");
  27.             }
  28.             #end
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top