• Christian Helgeson's avatar
    Examples: WebGPU WGSL/TSL Node Interoperability (#28379) · d2c12dfe
    Christian Helgeson authored
    * Got a wgsl shader generally working. Need to start small before working up
    
    * Fixed bugs and errors
    
    * Finished draft of wgsl tsl node interoperability example, which demonstrates how to use the same node variables across both wgsl and tsl version of the same shader, as well as demonstrating how to use varying attributes in both wgsl and tsl shaders
    
    * Renamed file, ran eslint, created screenshot
    
    * fix path in files.json
    
    * remove screenshot button
    
    * Fix screenshot
    
    * Added example to exception list due to persistent issue with screenshots
    
    * Remove unused imports
    
    * offset wgsl upper shader and tsl lower shader to create single image
    
    * ran linter again
    
    * attempt style fix
    
    * vscode convert indentation to tabs
    
    * fix indentation in files.json and puppeteer.js
    
    * Added uniforms that better clue user into the use of two separate shaders using the same uniforms, removed black line between quads, fixed cellOffset issue
    
    * fix screenshot
    
    * cleanup
    
    ---------
    d2c12dfe
files.json 13 KB