Created
          November 6, 2019 12:27 
        
      - 
      
 - 
        
Save Erfan-Ahmadi/19c8f5e922a83f167eceaf07135995dd to your computer and use it in GitHub Desktop.  
    Regex for sampler when translating HLSL to GLSL
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Find: (\w*).Sample\((\w*) | |
| Replace: texture(sampler2D($1, $2) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment