x


Shader Errors Strumpy Shader Editor

I'm having a problem creating a shader in the strumpy shader editor. I want to create a shader that has a mask for the reflection and specular and also a fresnel falloff for the reflection. But when I create the shader it comes up with errors.

When I remove the cubemap and replace it with just a colour it works fine. Or I can replace the diffuse with just a colour and it will show the reflection and specular. I can also replace all the specular maps with the diffuse map and it works.

Is it even possible to create a shader that does this or is there something wrong with the code that strumpy makes?

picture of graph (The problem area is in blue)

picture of errors

more ▼

asked Feb 25, 2012 at 03:09 AM

laserchalk gravatar image

laserchalk
16 4 5 6

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

I solved the problem. I just used the alpha channel of the diffuse map for the specular level. It's a good technique to use if you just want a grey scale image.

more ▼

answered Mar 24, 2012 at 02:56 PM

laserchalk gravatar image

laserchalk
16 4 5 6

(comments are locked)
10|3000 characters needed characters left

Any chance you could post an image with the final Shader? I'm trying to learn a bit about this and I could really use som examples.

Thanks.

more ▼

answered Apr 15, 2012 at 05:04 PM

RAGNAROK gravatar image

RAGNAROK
0

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3096
x2789
x247
x224
x29

asked: Feb 25, 2012 at 03:09 AM

Seen: 2203 times

Last Updated: Apr 15, 2012 at 05:04 PM