• <nav id="yisao"><rt id="yisao"></rt></nav>
  • Cocos Creator 3.5.1 今日發布,新增兩項重要實驗性功能

    Cocos Creator 3.5.1 今日發布。V3.5.1 在不影響原有功能穩定性的前提下加入了兩項影響深遠的實驗性功能。一是智能導入 FBX 中的?DCC 默認材質,還原美術在各類?DCC 工具中使用的材質和外觀;二是內置了一系列 Surface Shader 材質資源,這將成為未來支撐材質定制的基石。除此之外,我們還完成了一系列關鍵性的問題修復,體驗優化和大量的文檔優化,建議所有 3.x 用戶升級。

    重要更新

    實驗性:FBX 智能材質導入

    FBX 智能材質導入是模型導入器中輔助轉換材質的一個功能,它可以將各種 DCC 工具導出到模型中的部分標準材質直接映射到 Cocos Creator 的內置材質中,盡量還原美術在 DCC 工具中看到的材質效果。我們可以對比一下 Maya 中的 Standard Surface 材質導入 Cocos Creator 后的效果:

    Maya 工具內效果
    開啟 FBX 智能材質導入后 Cocos Creator 內效果

    此功能已支持主流 DCC 工具:3ds Max、Blender、Maya、C4D 中的部分標準材質。

    具體使用可以參考使用文檔。同時我們也將在 3.6 中持續優化模型和材質導入體驗,敬請期待。

    實驗性:新增 Surface Shader

    從 3.0 版本以來,不少開發者都經歷過升級過程中材質無法正常使用,需要遷移的問題,為此我們也準備過不少材質系統專屬的升級文檔,然而手動升級過程的體驗確實不盡如人意。此問題的根本原因是引擎的光照模型和表面材質的計算一直在調整,這會影響所有相關的材質 effect 代碼,也會影響到用戶復用這些材質時的兼容性。
    為了提升材質系統的兼容性,我們新增了一系列 Surface Shader 資源,抽象了引擎內的光照模型和表面材質計算,未來開發者可以使用這些抽象好的頭文件和內置函數極大簡化自己書寫的 effect 資源。同時由于多了一些封裝,跨版本間的兼容性也會更有保障。
    具體 Surface Shader 的使用請參考使用文檔。

    文檔優化

    從 3.5 開始我們設計了新版 API 文檔頁面,受到了開發者比較普遍的好評和一些反饋。在 3.5.1 我們繼續做了大量的內容檢查,通過近 40 個 PR 進一步補全了之前遺留的一些 API 文檔,修復了部分文檔錯誤。并且之后文檔也會得到持續性的優化,希望給開發者帶來越來越好的使用體驗。

    重要修復

    1. 修復瀏覽器預覽速度過慢的問題
    2. 修復 Mobile Safari 上無法預覽的問題
    3. 修復部分材質從 3.4.2 或更低版本不能自動升級的問題
    4. 修復 3D 粒子系統在狀態切換時可能的報錯和表現問題
    5. 修復延遲管線的光影計算

    詳細更新

    • [FEATURE] Add smart material conversion for FBX importer
    • [FEATURE] add experimental surface shader (engine#11048)
    • [OPTIMIZE] change camera settings to orthogonal type in 2d scene templates (engine#11020)
    • [OPTIMIZE] Improve API documentations in engine
    • [OPTIMIZE] Add a new experimental import strategy in AssetDB, avoid repeative import process
    • [OPTIMIZE] Update lightmap tool LightFX
    • [OPTIMIZE] Inspector keep group display order
    • [OPTIMIZE] Improve shadowmap settings in default scene (engine#11213)
    • [OPTIMIZE] Optimize anisotropy sample (engine#11075)
    • [OPTIMIZE] Spotlight interface description change (engine#10964)
    • [OPTIMIZE] Listen WINDOW_RESIZE event by application (engine#10930)
    • [OPTIMIZE] Load libGLESv3.so by default while user choose glesv3 (engine#10941)
    • [OPTIMIZE] Allow native projects use user pre-set global cmake variables (engine#11011)
    • [OPTIMIZE] Refine MissingScript debugger (engine#10916)
    • [OPTIMIZE] Automically unfold array list when editing array length in the inspector
    • [OPTIMIZE] Optimize curve unit test (engine#10912)
    • [FIX] Fix long loading time issue
    • [FIX] Fix camera preview not working issue
    • [FIX] Fix no responding due to lock on scene scripts
    • [FIX] Fix preview issue on some browsers like Safari
    • [FIX] Fix inspector cannot create new clip under animation editing mode
    • [FIX] Fix clip list not updated after clip creation under animation editing mode
    • [FIX] Fix clip removal check under animation editing mode
    • [FIX] Fix frequent update of nodes in the animation editor
    • [FIX] Improve error handling during node data migration for animation clip
    • [FIX] Popup warning when regenerate an exist prefab asset
    • [FIX] Fix asset builder issue which cause wrong JSON group for auto-atlas asset and duplicated assets in JSON
    • [FIX] Data tolerance for animationBlendType in AnimationGraph
    • [FIX] Fix conflict after importing custom texture compression config
    • [FIX] Fix code sample issue in the template of the builder’s plugin
    • [FIX] Fix engine error caused by material switch
    • [FIX] Fix prefab data copy issue when the root node is 2d node
    • [FIX] Fix issue when copy component data from prefab instance to other prefab
    • [FIX] Fix error when AnimationGraph panel is initialized during editor startup
    • [FIX] Fix selection issue in scene editor when viewing on screen with dpr larger than 2
    • [FIX] Avoid potential infinity loop in tickInEditMode
    • [FIX] Fix error caused by empty result when dumpping node data
    • [FIX] Fix error when typing enter in the texture name field of the joint texture layout
    • [FIX] Fix builder malfunctioning after importing configurations
    • [FIX] Fix view rotation after modifying scale value of the preview window
    • [FIX] Fix part of circular reference issue by upgrading rollup to 2.37.0
    • [FIX] Fix collision matrix setup issue in project setting
    • [FIX] Fix issue that the last panel cannot be dragged in dock
    • [FIX] Circular references should cause workflow failed (engine#10841)
    • [FIX] Fix geometry-renderer in deferred pipeline (engine#10890)
    • [FIX] Fix meshBuffer checkCapacity bug (engine#10910)
    • [FIX] Remove ambient.mipmapCount (engine#10920)
    • [FIX] Fix auto-atlas test bug cause time sequence (engine#10914)
    • [FIX] Fix fog is more brighter with native engine (engine#10972)
    • [FIX] Fix android crash due to surface not ready (engine#10984)
    • [FIX] Fix pause operation fail when play and pause audio in the same frame on native platforms (engine#10990)
    • [FIX] Fix instanced model has no spot light shadow (engine#10921)
    • [FIX] Fix particle system memory issue (engine#11032)
    • [FIX] Terrain and model automatic choose lightmap shader (engine#11006)
    • [FIX] Correct render pipeline script template error (engine#10927)
    • [FIX] Fix animation mask data cannot be load from gltf (engine#11033)
    • [FIX] Fix shader migration from lower version (engine#11038)
    • [FIX] Fix subcontextview for wechat platform (engine#11049)
    • [FIX] Fix notifySkinnedMeshRemoved (engine#11074)
    • [FIX] Fix word wrap for Vietnamese characters (engine#10925)
    • [FIX] Instantiate all FastDefined objects as value type (engine#11052)
    • [FIX] Fix format feature request for Float32 for gles3 and webgl2. (engine#11084)
    • [FIX] Fix eglSwapbuffer error due to eglSurface is not ready (engine#11083)
    • [FIX] Disable gametick after enter background(revert to logic to version 3.4.2 (engine#11095)
    • [FIX] Skip a pair of quotations for avoiding spaces when image name are detected in RichText (engine#10954)
    • [FIX] Assign underline initial value when label segments are contructed in RichText (engine#10954)
    • [FIX] Fix clear particle bug (engine#11066)
    • [FIX] Fix ndc->world with deferred shading (engine#11099)
    • [FIX] Remove enableBatch from spine/db (engine#11100)
    • [FIX] Fix deferred pipeline depth stencil with linear sampling in webgl2.0 (engine#11110)
    • [FIX] Fix multi blank lines (engine#11116)
    • [FIX] Fix ios accelerometer not working (engine#11142)
    • [FIX] Add sky.effect with surface shader (engine#11156)
    • [FIX] Fix error during particle switch (engine#11139)
    • [FIX] Change logger level (engine#10944)
    • [FIX] Don’t push data if debug is not enabled. (engine#11118)
    • [FIX] Fix physics collision matrix (engine#11181)
    • [FIX] Fix multi quotations bug and add unit tests (engine#11190)
    • [FIX] Fix light flashes at instanced model (engine#11203)
    • [FIX] Solve getInstancedModel judgment error (engine#11205)
    • [FIX] Fix prefab generates incorrect data (Repeated node) (engine#11211)
    • [FIX] Fix terrain index buffer sharing bug (engine#11206)
    • [FIX] Fix isnan(0.0) with webgl1.0 (engine#11262)
    • [FIX] Fix specular params with surface toon (engine#11265)

    前往官網下載最新版本,歡迎大家使用與體驗,感謝各位開發者的支持!

    女人脱裤子让男生桶爽免费看,久青草无码视频在线播放,精品国产人成亚洲区,久久精品国产亚洲一区二区