Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

niepp/astc_encoder

Repository files navigation

About

real time ASTC texture compression by computer shader

用d3d compute shader实时压缩astc纹理,实现的是ASTC的一个子集。

Features

  • texture compress in realtime
  • astc4x4
  • astc6x6
  • alpha channel
  • normal map
  • compress in linear or srgb space

Dependencies

Release

astc_encoder v1.0

Usage

astc_cs_enc.exe input_texture option_args

command parameter explanation
-4x4 use format ASTC4x4,or ASTC6x6
-alpha does have alpha channel
-norm whether or not normal map
-srgb whether or not encode in linear color space

example

astc_cs_enc.exe ./textures/leaf.png -alpha -4x4 -srgb

see more https://niepp.github.io/2021/12/18/Compute-ASTC.html

About

real time ASTC texture compression by computer shader

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
License.txt

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /