forked from unity3d-jp/MeshSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: material support (unity3d-jp#803)
* Adding improved material support. * WIP material support. * WIP material support * More texture support * WIP standard built-in pipeline support. * Adding basic material support. Adding material test scene. * Extracting constants * Removing dead code. * Refactoring * Reverting unwanted change * Restore render target after changing it. * Added comments * Refactoring * Enabling glass material * Refactoring * Refactoring. Fix or normal map scale on HDRP. * Catching more specific exception. * Refactoring * Refactoring * Refactoring * Tyypo fiiix. * Deleting unused file * Fix for runtime issues * Adding texture wrapper to release resources. Refactoring. * Compile fixes for hdrp * Fix for unity 2020 * Using 0.5 as default for AO and detail mask in mask map. Fix for resetting transparency. Updating test scene to test reroutes, add shader and mix shader. * Removing test scene. * Release rendertextures after replacing them with texture2d. * Updating comments * Fix for render textures not being released. * Release textures that were created. * Making class internal. Disabling unused code. * Refactoring * Refactoring to use property name IDs. * Format fix * Extracting constants * Force synchronous import to ensure texture exists when we need it. * Refactoring to use constant. * Refactoring * Removing unnecessary code. * Refactoring * Removing unused parameter. * Displacement fix * Change to use height scale directly. * Updating dll * Ensure assets are updated after changing settings * Ensure importer is updated. * Adding ticket number * Using constant * Adding comment * Adding comment * Removing code we don't use yet. * Extracting constant. * Adding comments * Releasing render texture * Refactoring * Log update * Adding comment * Renaming method * Refactoring * Docs update * Reverting unwanted change * Removing debug code.
- Loading branch information
1 parent
b0d08aa
commit e307c51
Showing
21 changed files
with
1,105 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ class MaterialProperty | |
Float, | ||
Vector, | ||
Matrix, | ||
Texture, | ||
Texture | ||
}; | ||
|
||
struct TextureRecord | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ enum class TextureType | |
{ | ||
Default, | ||
NormalMap, | ||
NonColor | ||
}; | ||
|
||
template<class T> struct GetTextureFormat; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.