Hello there,
I m working on facial setup using shaderFx in maya VP 2.0 for real time rendering.
Iv got great result using the DX11 autodesk uber shader directly, but when i use the uber shader graph inside shader fx editor i cant't get the same result for shadows :
- On the left side Dx11_autodesk_shader : nice soft shadows :thumbup:
- On the right side uber_shader .sfx file edited in shaderFX, bad ugly hard shadows :thumbdown:
I m using same light setup in both shader, do you have any idea how i can fix this ?
Thanks in advance
Replies
create a new shader shader
Open ShaderFX
inside shaderfx graph window:
enable Settings / advanced mode
enable Settings / Override system nodes
enable Settings / Show Node ID
drop down a "shadow map" node
Go inside this group node by clicking on the square icon on the node
Go inside the blue/purple group node called "ShadowMap"
In there, you will find a node called "Kees" :poly136:
Notice where its outgoing connection is going
You want to connect the output from AddOp (ID: 1323, but might be different) to where the connection of the "Kees" node was going.
This addop node flows from the "FilterTaps", with a multiply node inbetween
After this connection is made, you can delete the "Kees" node
Press Exit Group twice
Select the Shadow Map group you just edited
Then pick: Group / Save group to disk
-Kees
I can't test it right now but i ll give you feedback as soon as i can
It depends on what you want.
Dx11 AutodeskUberShader gets you going very quick; artist friendly.
DX11 writing custom shader: hard if you don't know any shader coding.
ShaderFX is in-between.
Quicker/Easier then writing shaders by hand for many people, but not as easy as the Uber Shader.
Anyway thanks for bringing this support for this amazing tool !
Ressources are pretty hard to find when you start to dig in it.
Is there any documentation planned ?
@CreativeSheep
A huge limitation of AutodeskUberShader is that it only take texture path as input for maps, you can't give it anything else as blend or multiply etc ...
Here i m blending diffuse+normale+disp with my shapes, so i need to customize a bit my shader. And shaderFX is just perfect for that.