silhouette-edge-fs.chunk 358 B

1234567891011121314151617
  1. layout(location = 0) out vec4 fragColorX;
  2. void main () {
  3. // for alpha clip
  4. vec4 color = SurfacesFragmentModifyBaseColorAndTransparency();
  5. //#uniformStyle need sync here
  6. // Color output
  7. #if CC_USE_RGBE_OUTPUT
  8. color = packRGBE(color.rgb);
  9. #elif !CC_USE_FLOAT_OUTPUT
  10. color.rgb = LinearToSRGB(color.rgb);
  11. #endif
  12. fragColorX = color;
  13. }