English


Profile Picture

Unity Auto Setup

Posted By Victor.Soupday 4 Years Ago
Rated 5 stars based on 12 votes.
1
...
52
53
54
55
56
...
58

Unity Auto Setup

Author
Message
mark.jsday
mark.jsday
Posted Last Year
View Quick Profile
New Member

New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 10, Visits: 79
To fix this issue i had to include (to the template) the pragma to the LightMode  UniversalForward
#pragma shader_feature_local _ _ENVIRONMENTREFLECTIONS_OFF
#pragma shader_feature_local _ _SPECULARHIGHLIGHTS_OFF
/*ase_main_pass*/
Name "Forward"
Tags
{
"LightMode" = "UniversalForward"
}
Blend One Zero
ZWrite On
ZTest LEqual
Offset 0,0
ColorMask RGBA

/*ase_stencil*/
HLSLPROGRAM
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_CASCADE _MAIN_LIGHT_SHADOWS_SCREEN
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS
#pragma multi_compile _ EVALUATE_SH_MIXED EVALUATE_SH_VERTEX
#pragma multi_compile_fragment _ _ADDITIONAL_LIGHT_SHADOWS
#pragma multi_compile_fragment _ _REFLECTION_PROBE_BLENDING
#pragma multi_compile_fragment _ _REFLECTION_PROBE_BOX_PROJECTION
#pragma multi_compile_fragment _ _SHADOWS_SOFT _SHADOWS_SOFT_LOW _SHADOWS_SOFT_MEDIUM _SHADOWS_SOFT_HIGH
#pragma multi_compile_fragment _ _DBUFFER_MRT1 _DBUFFER_MRT2 _DBUFFER_MRT3
#pragma multi_compile _ _LIGHT_LAYERS
#pragma multi_compile_fragment _ _LIGHT_COOKIES
#pragma multi_compile _ _FORWARD_PLUS
#pragma multi_compile _ LIGHTMAP_SHADOW_MIXING
#pragma multi_compile _ SHADOWS_SHADOWMASK
#pragma multi_compile _ DIRLIGHTMAP_COMBINED
#pragma multi_compile _ LIGHTMAP_ON
#pragma multi_compile _ DYNAMICLIGHTMAP_ON
#pragma multi_compile_fragment _ DEBUG_DISPLAY
#pragma shader_feature_local _ _ENVIRONMENTREFLECTIONS_OFF
#pragma shader_feature_local _ _SPECULARHIGHLIGHTS_OFF
Victor.Soupday
Victor.Soupday
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Which version of Unity and ASE are you using?

I'm fairly sure it never used to hide the Environment Reflections option on URP/Lit based shaders, but that could have changed in the later versions.
chris_466129
chris_466129
Posted Last Year
View Quick Profile
Junior Member

Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)Junior Member (156 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 9, Visits: 112
I'm using Soupday's Version 1.4.7 HDRP shaders...  I've seem to run into an issue with Depth of Field (Unity 2021.3.35f1) where the hair seems to be getting blurred around the edges even through the DoF far range is behind the character. Anyone run into this or know what shader setting might fix it?

With DoF on
76% of original size (was 666x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/3b63e43e-ce4c-4105-bc1e-b70c.jpg

With DoF off
76% of original size (was 666x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/d9181f74-90dc-48d8-99fb-3903.jpg
mat365
mat365
Posted Last Year
View Quick Profile
Junior Member

Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)Junior Member (146 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 12, Visits: 120
Just wondering if there are any plans to upgrade this for URP 17? It'd be super helpful for my current project.

Thanks!
bmslab
bmslab
Posted Last Year
View Quick Profile
New Member

New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 1, Visits: 61
Hi, 

After much investigation I realized that we have an issue with the following. You have from Actorcore (where we buy characters) 3 types, ActorScan, actorBuild actorOrigin. When you export each to fbx the gameobject had different way of targeting. So ActorOrigin has the same target as the iclone original characters created, yet the other two are different. Is there a way to change this or to make them follow the same structure than the actoreOrigin?
mark.jsday
mark.jsday
Posted Last Year
View Quick Profile
New Member

New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)New Member (43 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 10, Visits: 79
Is there any chance the wrinkle maps could be supported for shader graph.  I'd like to use shader graph and not the amplify shaders if possible.    URP 17 works with the shader graph shaders but amplify complains with Too few arguments in the MACRO call.

Latest Autosetup and Unity 6 Preview
Victor.Soupday
Victor.Soupday
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
mat365 (7/6/2024)
Just wondering if there are any plans to upgrade this for URP 17? It'd be super helpful for my current project.

Thanks!


mark.jsday (7/24/2024)
Is there any chance the wrinkle maps could be supported for shader graph.  I'd like to use shader graph and not the amplify shaders if possible.    URP 17 works with the shader graph shaders but amplify complains with Too few arguments in the MACRO call.

Latest Autosetup and Unity 6 Preview


@mat365 @mark.jsday

Ok: URP17 (Unity 6) has been quite broken so far, but it is still in beta.

But as of Unity 6000.0.12f1 and ASE 1.9.6 I have a working set of Amplify shaders. Also:
  • Wrinkle maps added to URP shader graph skin shaders.
  • Anisotropic highlights (optional shader feature) added to URP shader graph hair shaders. It's not a fully lighting accurate effect like the Amplify shaders, but it looks more interesting and hairlike than the flat PBR lighting they had before.
  • Support for Forward+ rendering additional lights in Amplify hair shaders.
So a more functional set of shader graph shaders, should provide a good alternative and should always be compatible.

I have a release candidate for 1.6.3 in the URP17 dev branch: if you want to try that and see if it works and solves your problems.

aidesigner
aidesigner
Posted Last Year
View Quick Profile
New Member

New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)

Group: Forum Members
Last Active: 3 Months Ago
Posts: 1, Visits: 60
Another Reallusion CC4 character import questions (Shader pink material) using "CC/iC Unity Tools HDRP".  All the hints on this topic suggest missing CC4 diffusion profiles in Unity "Project Settings->HDRP".  However as shown below (Red circle) these were automatically added (i.e. Profile 8-11, Limit is 15), and I did try restarting unity.  The inspector on the right does shows a missing "Diffusion Profile" and it does not have a fix button.  I might attempt to manually drag over 1 of the 4 CC4 Diffusion Profiles (i.e. Profile 8-11) to the missing "None" profile, but the "Unity Tools HDRP" package is read-only.  I also click on the inspector shader open which revealed a shader graph (lower center) that also shows a pink color in "Main Preview".  To my knowledge I am following the standard flow of CC4->Unity (2022.3.30f1 LTS) import flow and wondering how it works for anyone.  Can someone explain this issue and solution?

76% of original size (was 666x19) - Click to enlarge
Victor.Soupday
Victor.Soupday
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
aidesigner (7/28/2024)
Another Reallusion CC4 character import questions (Shader pink material) using "CC/iC Unity Tools HDRP".  All the hints on this topic suggest missing CC4 diffusion profiles in Unity "Project Settings->HDRP".  However as shown below (Red circle) these were automatically added (i.e. Profile 8-11, Limit is 15), and I did try restarting unity.  The inspector on the right does shows a missing "Diffusion Profile" and it does not have a fix button.  I might attempt to manually drag over 1 of the 4 CC4 Diffusion Profiles (i.e. Profile 8-11) to the missing "None" profile, but the "Unity Tools HDRP" package is read-only.  I also click on the inspector shader open which revealed a shader graph (lower center) that also shows a pink color in "Main Preview".  To my knowledge I am following the standard flow of CC4->Unity (2022.3.30f1 LTS) import flow and wondering how it works for anyone.  Can someone explain this issue and solution?


If the diffusion profiles aren't set after rebuilding the character materials, then I would suspect that something has caused the package assets to lose their GUIDS. Possibly multiple installs of the package have forced the GUIDS to change. Did you ever drop the package into Assets before installing it with the package manager? That would cause it.

Uninstall the package. Remove all trace of the package from Assets. Restart Unity (because it hangs onto old GUIDS), then re-install the package with package manager.
Edit: In fact you could try re-installing the latest release just now: CC/iC Unity Tools 1.6.3 HDRP12


But you can just load the RL_Skin_Profile / RL_Eye_Profile / RL_Teeth_Profile into the diffusion profile slot of the affected materials. (Or whatever diffusion profile you prefer)


Victor.Soupday
Victor.Soupday
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
CC/iC Unity Tools 1.6.3

Built-in (Unity 3D): https://github.com/soupday/cc_unity_tools_3D/releases  -  ( 3D
URP
: https://github.com/soupday/cc_unity_tools_URP/releases  -  ( URP10 / URP12 / URP14 / URP17 )
HDRP
: https://github.com/soupday/cc_unity_tools_HDRP/releases  -  ( HDRP10 / HDRP12 )

Documentation
: https://soupday.github.io/cc_unity_tools/
Full install instructions here: https://soupday.github.io/cc_unity_tools/installation.html#

Changelog:
1.6.3
  • Wrinkle manager update Blend shape indices button.
  • Wrinkle system setup will look for wrinkle masks in Assets as well as packages. (If tools installed into assets and not with package manager)
  • Wrinkle system added to URP shader graph shaders.
  • Anisotropic highlights added to URP shader graph hair shaders.
  • Mesh extraction checks for duplicate blend shape names.
  • URP Amplify hair shaders support for Forward+ additional lights.
  • URP Amplify shaders recompiled for ASE-1.9.6 (Fixes URP17 issues).
  • Fix to colliders not being added with just hair physics.
  • Fix to HDRP diffusion profiles not being added in HDRP17.

1
...
52
53
54
55
56
...
58



Reading This Topic

3 active, 0 guests, 3 members, 0 anonymous.