High quality specular reflection shader


#1

Hi guy,
I’m getting grips with Maya and 3D but this goes beyond me,
What I’m looking to do is create a complex shader similar to Mental Ray shaders…
The reason behind this is for a web based 3D viewer. Although the web based 3D viewers only support

Bump maps, Normal maps, Diffuse, Specular, texture map and transparency

Heres where it looses me,

I need the mental ray material to bake onto the Lambert/Blinn ( Which isn’t a problem )
So it looks like a high quality shader. But then I would like the specular color
to move around when panning, tumbling the object in a 3D viewer

Next step if possible would be,

Also I’m looking for the reflection of the HDR ( Image based lighting )
to be live, so as you move the model around the reflection changes.

Or am I just asking to much?
Thanks guys!
Reis.


#2

Don’t under estimate the power of real time engine… if HDR lighting is what you want, most engines these days can do it in real time. You don’t even need to bake anything from mental ray, most engines have their own material that is really good.

Just check out what Unity can do.
http://docs.unity3d.com/Documentation/Manual/HDR.html


#3

Would HTML5/ Javascript be able to do this?
Reason I ask is because I don’t want the viewers to have to download a plugin, where as for example,

www.r31s.co.uk/watch you can view straight away.

But thanks for the knowledge I’ll bear that in mind, any idea of the poly count and keeping a decent FPS?

Thanks in advance


#4

Ah, HTML 5… I don’t know much about it then.

Anyway. The kind of reflection you describe is not something you can fake with baking. You’ll have to find some sort of material/shader system that works in HTML5 or javascript 3D space where you can actually set up your shader and plug your reflectivity texture to it.

Maybe something like this can do it. I don’t know what this is but it seems to run on web browser without any plug ins. The examples on the first page looks like were made with quite complex shaders, too.
https://www.shadertoy.com/

The watch in that website by the way looks really horrible… not a good example.


#5

Thanks for the link! much appreciated. Gave me something else to look into now.
Thanks again


#6

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.