cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.87k stars 2.06k forks source link

Baked EnvMap out of source control #16076

Closed MrKylinGithub closed 1 year ago

MrKylinGithub commented 1 year ago

Cocos Creator version

3.8.0

System information

Windows and Mac

Issue description

When using the default envmap in the internal folders. the baked envmap can't be committed via git tools. This leads to the hdr texture losing on another computer.

Relevant error log output

No response

Steps to reproduce

  1. create an empty scene and save
  2. change the Env Lighting Type to the second or third one
  3. bake Envmap
  4. commit & push to git and clone & pull on another computer. ( or just simply copy the whole project to another computer)
  5. open the project and run.

Minimal reproduction project

kunkun knows how to reproduce it.

jk20012001 commented 1 year ago

internal resource should bake / generate / find in assets/internal/samepath/samename....

jk20012001 commented 1 year ago

https://github.com/cocos/editor-extensions/pull/655