1 Year Ago
Remove the needing to require special definitions when overwriting render states supersedes #648 Drop sys from Combos, this was removed with shader-assets and does nothing now Drop Sys( X ) from all shaders This supersedes #645 Get rid of postprocess example, should be on the wiki Mark glow shaders as dev only Return the full range of NdotL instead of the saturated version to allow for more lighting models out of the box Add Parallax Occlusion to complex Built shaders for testing Allow us to reference features at runtime & set default values when they don't exist #pragma optimize("", off) Rebase fixes Drop additive blending combo from complex, make parallax occlusion replace it since it's an extra sampler Add FeatureExists preprocessor function, lets you check if a feature exists debug prints more debug prints Update post_process.shader_c Revert "more debug prints" This reverts commit fd9301e0773cf03e2c12117cac92ed6495aad25c. Revert "debug prints" This reverts commit 637cd5109d557a230fd02d4828c726cc37a9da7d. Fix complex compile errors due to secondary UV truncation + parallax occlusion & detail textures Update all shaders F_ADDITIVE_BLEND is no longer mandatory for shaders Trim a lot of features needed to be included, they're now optional instead of forced! Last one left is morph, still need to do some work to get rid of that one! https://files.facepunch.com/ognik/1b1011b1/sbox-dev_r0eCOvInhu.png Let high quality reflections propagate to all user shaders optionally since we can just check if a feature even exists now