Jump to content

Shader alpha + specular


Recommended Posts

I was very happy to see the new shader Bumped Specular ( Transparent) in part tools 1.1. But it seems like, alongisde with Specular ( Transparent) it doesn't work. Or I did something wrong while installing part tools? Wrong Unity version?

I m using Unity 5.3.4f1 with part tools 1.1.

As you can see below the specular color isn't there and no matter what I do with the shininess slider nothing happens.

KSP_AlphaSpecularBumped.jpg

Link to comment
Share on other sites

13 hours ago, nli2work said:

Use the Unity4 shaders from PartTools Legacy instead of from SquadCore (delete the shaders folder from SquadCore). But I'm not sure which set is loaded in KSP 1.1.

I think that is what I did. I installed part tools by drag and dropping PartToolsLegacy/PartTools in my assets in Unity. Now following your comment I installed it using the asset bundles. Result is I get a lot more stuff in my assets but the shaders in SquadCore are the same. Still no specular color.

I also couldn't find a squad part that appears to use bump + alpha + specular.. It seemed too good to be true to have that ability..

Edited by Nookos
Link to comment
Share on other sites

23 hours ago, nli2work said:

Looks like the set from squadcore will override the legacy set if you install both.

I tested both sets in 5.3.4 and it seems like specular in the legacy set is working while the set from squadcore doesn't.

I don't understand yet how you got it to work. I spent the evening yesterday installing and uninstalling both in vain. But thanks for letting me know it can work eventually..

1 hour ago, Porkjet said:

I'll take a look at this

Thanks. Much appreciated.

Link to comment
Share on other sites

I'll check it again in 5.2.4

I figure something little more systematic would be good. Screencaps from 3 separate Unity projects each with different set of shaders installed. test package with scene file and textures https://www.dropbox.com/s/0cherlsfcgvkt08/specTest.unitypackage?dl=0 

Here's test of BumpSpec in Unity 4.2.2f1; Looks in order for the most part. 1.1 PartTools Legacy shader considerably darker. 
3xhAoXe.jpg

 

from Unity 5.2.4f1; one strange thing is Burn Color seems to be working in the role of Main Color. RGB  tints _MainTex RGB; (A) Multiplies Spec (A). not sure if that's intentional.
7vjsgTb.jpg

 

@Porkjet Since Squadcore shaders appear to be the set in squadcore.ksp assetbundle loaded in KSP, it is it safe to assume KSP 1.1 only supports those shaders?

Edited by nli2work
Link to comment
Share on other sites

Ok now I tried in 4.2.2, 5.2.4 and 5.3.4.

Each time trying 3 different ways: only assetbundles; only legacy; assetbundles - deleting shaders - installing legacy.

And same result every time. Not possible to get alpha + specular

@nli2work I m able to reproduce your test because Bumped Specular is not the problem for me. It's only the combination Alpha + Specular that is the problem: SpecularTransparent and SpecularBumpTransparent.

Link to comment
Share on other sites

15 minutes ago, nli2work said:

They seem to work in 5.2.4; 
HsZaUhR.jpg

I m not sure what you mean by working then. Just like me you don't have a specular color and so you don't have specular at all. The shininess slider alone doesn't do anything. In short you have no specular like me:

KSP_AlphaSpecularBumped.jpg

 

Edited by Nookos
Link to comment
Share on other sites

17 minutes ago, Nookos said:

I m not sure what you mean by working then. Just like me you don't have a specular color and so you don't have specular at all. The shininess slider alone doesn't do anything. In short you have no specular like me.

I see what you mean. I assumed they are spec only shaders. Opacity controls overall visibility of the object while (A) controls Spec Intensity. Fresnel slider controls Spec Gloss. That doesn't appear to be correct, since KSP/Alpha/Translucent Specular works as one would expect

Overall the shaders in 1.1 seem a little more unusual than before. Maybe Squad unintentionally included some internal shaders.

Edited by nli2work
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...