Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 1.5.0 #1

Open
wants to merge 56 commits into
base: main
Choose a base branch
from
Open

Update 1.5.0 #1

wants to merge 56 commits into from

Conversation

starstormhun
Copy link

  • Included Unity Assets for easier replication
  • Added DisablePointLights slider to all materials
  • Added HairPlusReflect
  • Added HairFrontPlusReflect

- Added DisablePointLights slider to all materials
- Added HairPlusReflect
- Added HairFrontPlusReflect
- Added a slider to disable matcaps which fall in shadow
- Fixed MainOpaquePlusTess not working
@starstormhun starstormhun reopened this Dec 2, 2023
@starstormhun
Copy link
Author

  • Added slider to disable matcaps which fall in shadow
  • Fixed MainOpaquePlusTess not working

@starstormhun starstormhun changed the title Update 1.4.0 Update 1.4.1 Dec 2, 2023
Added:
- All shaders now support matcap shadowing
- Reflection coloring with 2 options sliders (ReflectCol, ReflectColAlphaOpt, ReflectColColorOpt)
- ReflectRotation slider: 0-360° matcap rotation
- ReflectMask for Skin/Hair reflect versions: black/white toggles between environmental and matcap reflections, defaults to white (matcap)
- ReflectMapDetail for item shaders: combination of ReflectMap (red channel) and ReflectMask (green channel)
 - Had to combine them due to technical limitations
- ShadowHSV: shadow color relative adjustment (for touchups)
- AdjustBackfaceNormals slider: Backfaces will be lit correctly but the item's reflection looks off (defaults to off, on would be the vanilla behavior)
- CullOption and Cutoff sliders for hair shaders
- All item shaders which didn't before now support AlphaMasks
- Alpha shaders now support smooth alpha (AlphaOptionCutoff = 2)
 - Gray AlphaMask values between `Cutoff` and 1 will be scaled to between 0 and 1
Fixes:
- Point lights now work correctly with matcap shadowing
- ReflectVal inconsistencies compared to 1.3.1 removed
- Matcap alphas now behave like in 1.3.1
- Front hair shaders now have the correct render queue (might mean needing to set "Show irises through hair" to Yes)
@starstormhun
Copy link
Author

Added:

  • All shaders now support matcap shadowing
  • Reflection coloring with 2 options sliders (ReflectCol, ReflectColAlphaOpt, ReflectColColorOpt)
  • ReflectRotation slider: 0-360° matcap rotation
  • ReflectMask for Skin/Hair reflect versions: black/white toggles between environmental and matcap reflections, defaults to white (matcap)
  • ReflectMapDetail for item shaders: combination of ReflectMap (red channel) and ReflectMask (green channel)
  • Had to combine them due to technical limitations
  • ShadowHSV: shadow color relative adjustment (for touchups)
  • AdjustBackfaceNormals slider: Backfaces will be lit correctly but the item's reflection looks off (defaults to off, on would be the vanilla behavior)
  • CullOption and Cutoff sliders for hair shaders
  • All item shaders which didn't before now support AlphaMasks
  • Alpha shaders now support smooth alpha (AlphaOptionCutoff = 2)
  • Gray AlphaMask values between Cutoff and 1 will be scaled to between 0 and 1
    Fixes:
  • Point lights now work correctly with matcap shadowing
  • ReflectVal inconsistencies compared to 1.3.1 removed
  • Matcap alphas now behave like in 1.3.1
  • Front hair shaders now have the correct render queue (might mean needing to set "Show irises through hair" to Yes)

@starstormhun starstormhun changed the title Update 1.4.1 Update 1.4.2 Dec 8, 2023
@starstormhun starstormhun changed the title Update 1.4.2 Update 1.4.3 Dec 9, 2023
@starstormhun
Copy link
Author

Added:

  • ReflectiveOverlayed is now back in, as xukmi's source did not contain it for whatever reason
  • Matcap scaling and offset now works
    Fixed:
  • shadowcolor's alpha being set to 0 was causing trouble
  • adding alphamasks to things that weren't supposed to have them was a grave mistake and has been reverted, bras now work again
  • sometimes pure black colors were causing problems, so I made sure never to return pure black

starstormhun and others added 10 commits January 20, 2024 02:22
- fix eye matcaps extending beyond maintex
- fix absolute black problem with eye / eyetess
- fix transparency slider default
- fix transparency slider behaviour with outlines / reflections
- fix absolute black shadow color problem with studio shaders
@starstormhun
Copy link
Author

  • fixed skin/item matcap behaviour, now completely backwards compatible with 1.3.1
  • removed ReflectColAlphaOpt and ReflectColColorOpt because they were deprecated, now replaced with ReflectColMix (defaults to 1, full multiplication)
  • fixed KKPrim having a dark rim where it was supposed to fade into the underlying color
  • fixed AdjustBackFaceNormals not working on some shaders
  • added rimReflectMode slider (controls where rim lighting happens: -1 only in shadows, 0 default, 1 only in light)
  • matcap support for eye shaders
  • fixed issue with eye shaders rendering in incorrect order
  • added Tess versions of: EyePlus, EyeWPlus, HairPlus, HairPlusReflect, HairFrontPlus, HairFrontPlusReflect, MainItemPlus, MainItemAlphaPlus
  • fixed issue with eye shaders rendering in incorrect order, again
  • added transparency slider to front hairs (so you can see eyes through them, need to enable "Show eyes through hair" for this to have any effect)
  • implemented MainItemStudioPlus, MainItemStudioAlphaPlus and their tess equivalents
  • fixed even more issues with eye shaders
  • Cutoff now works with EyeWPlus and EyeWPlusTess

@starstormhun starstormhun changed the title Update 1.4.3 Update 1.5.0 Jan 24, 2024
starstormhun and others added 17 commits January 24, 2024 21:17
## Additions:
- Exposed AlphaMask on Skin shaders
- Added ColMask / Col0 / Col1 / Col2 / Col3 to Skin shaders
## Fixes:
- Fixed all tiling issues ||hopefully||
- Eye emission now rotates with the eye
- Eye emission is no longer broken by too dark of a MainTex
- Fix hair reflections breaking things when parts of hair were hidden via MainTex
- Skin / Hair / Eye shaders' ReflectMap now functions correctly
- Skin / Hair / Eye shaders' ReflectMask can now be scaled/translated
- A bunch of StudioItem shader color nonsense
- StudioItem shaders now only speculate in the light
- StudioItem shaders are now properly lit with Point Lights (pointlight shadows still impossible)
- StudioItem shaders' speculars fixed all around
- StudioItem shaders' emission fixed
Fix DisableShadowedMatcap with cast shadows
@bigqingshu
Copy link

If possible, please add the ‘AlphaOptionCutoff’ feature to the SkinPlusTess shader. This feature would be helpful for me. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants