Search found 7 matches

by HellGate
Tue Jan 30, 2018 9:47 pm
Forum: Amplify Shader Editor
Topic: Execution Order Problems
Replies: 4
Views: 3848

Re: Execution Order Problems

Sorry for the late reply. The fix worked fine for me so thanks a lot for that.
by HellGate
Wed Jan 10, 2018 6:02 pm
Forum: Amplify Shader Editor
Topic: Culling mode access
Replies: 2
Views: 2896

Re: Culling mode access

culling mode cant be switched in between pixels. thats the whole point of it. you can however use no culling and the face node to tell what side you are rendering and then just discard it based on your logic
by HellGate
Wed Jan 10, 2018 3:47 pm
Forum: Amplify Shader Editor
Topic: Execution Order Problems
Replies: 4
Views: 3848

Execution Order Problems

i was wondering how screendepth / surfacedepth can create values <0 untill i looked into the generated code.

it turns out that the surface depth is calcuated in the vertex shade before the vertex offset is applied

Example:

o.eyeDepth = -UnityObjectToViewPos( v.vertex.xyz ).z;
v.vertex.xyz ...
by HellGate
Tue Dec 05, 2017 7:58 pm
Forum: Amplify Shader Editor
Topic: Texture Array returning odd values
Replies: 6
Views: 5460

Re: Texture Array returning odd values


Was this trouble in any way related to our Texture Array Tool? If so, could you replicate it or provide additional details that may help us out figure what went wrong?.

i doubt that. i had some null reference errors on the shader node editor before (sadly i didn't wrote it down down where) but ...
by HellGate
Mon Dec 04, 2017 7:27 pm
Forum: Amplify Shader Editor
Topic: Texture Array returning odd values
Replies: 6
Views: 5460

Re: Texture Array returning odd values

Hello thanks for replying.

yes i did use the texture array creator tool to create the array however i had a lot of trouble with unity at that moment, to a point where i could not even open the project anymore. so it might got just corrupted i don't know

what i mean is basically a ScriptableObject ...
by HellGate
Sat Dec 02, 2017 5:01 pm
Forum: Amplify Shader Editor
Topic: Texture Array returning odd values
Replies: 6
Views: 5460

Re: Texture Array returning odd values

ok i found the problem. the texture array forgot that its in linear space. i had to rebuild the whole array in order to fix it.

it would be nice to have an object to create the texture arrays instead of just a window so i can recreate it just with a button press
by HellGate
Fri Dec 01, 2017 8:39 pm
Forum: Amplify Shader Editor
Topic: Texture Array returning odd values
Replies: 6
Views: 5460

Texture Array returning odd values

i recently noticed that my material using texture arrays looks very different from my test material that just uses plain old textures. see here: https://i.imgur.com/OXO72iO.jpg (left texture array, right just textures, including texture array settings for normal map array)

now i noticed that most ...