# Differences between DGS and DGS Photon Shader

**URL:** https://forum.highend3d.com/t/differences-between-dgs-and-dgs-photon-shader/46655
**Category:** Maya
**Tags:** mental-ray
**Created:** [November 2, 2003, 6:40am UTC](https://forum.highend3d.com/t/differences-between-dgs-and-dgs-photon-shader/46655 "2003-11-02T06:40:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![danwhitton](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/d9b06d/32.png) [@danwhitton](https://forum.highend3d.com/u/danwhitton)
#### Post date: [November 2, 2003, 6:40am UTC](https://forum.highend3d.com/t/differences-between-dgs-and-dgs-photon-shader/46655/1 "2003-11-02T06:40:50Z")

</div>

I am new to mental ray with maya and I have a lot of trivial questions.

Can anyone tell me the difference between a DGS and a photon Dgs shader, where would each be applicable or do they have to be combined.

Also if a DGS shader is an accurate representation of the way light is handled, then why the need for a mib\_illum\_blinn shader. Just another stupid question.

thanks to all,  
Dan

---

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [November 12, 2003, 5:17pm UTC](https://forum.highend3d.com/t/differences-between-dgs-and-dgs-photon-shader/46655/2 "2003-11-12T17:17:13Z")

</div>

Hey Dan, no questions are stupid, so ask any that you might have…

To put it simply, DGS shaders handle the direct illumination of an object, DGS photon shaders handle the way that object reacts to photons (global/indirect illumation).

So, for example, you can have a white lambert-style ball (white color in the diffuse channel for your DGS) that has a red-chrome style photon shader (red color in the specular channel of your DGS photon) and that will render out as a matte white ball, surrounded by red “spill.”

Basically, what is happening is that the direct illumination is behaving as if the ball was a matte white, but the photons are behaving as if the ball was a red chrome.

Not accurate, sure, but its a good way to see the differences between DGS and DGS photon.

Generally speaking, when using GI you always want to have DGS photon materials on your objects… even when using just blinns and lamberts and phongs and such.

DGS photon materials make the photons behave more predictably and accurately.

You combine DGS and DGS photon shaders when you want the utmost in physical accuracy.

If you want physical accuracy, make sure that the DGS and DGS photon have the same paramaters set (so my previous example, of the white ball with red spill, was not physically accurate).

The reason mib\_illum\_blinn is there is because its Mental Ray’s version of a blinn, basically.

A blinn is a blinn is a blinn, for all intents and purposes, and blinns are not physically accurate the way DGS shaders are.

So, you can use a blinn (or any other traditional shader)when you don’t need physical accuracy, basically.

For more info you can check out my “Full Explination of DGS Shaders” post.

At some point I will get around to posting a full tutorial on DGS, as well, not just a full explination… but the explination is a good start : )

I hope that helped!

-Steve

---

<div class="post-metadata">

### Author: ![brighterh](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@brighterh](https://forum.highend3d.com/u/brighterh)
#### Post date: [November 13, 2003, 2:47am UTC](https://forum.highend3d.com/t/differences-between-dgs-and-dgs-photon-shader/46655/3 "2003-11-13T02:47:00Z")

</div>

thanks a lot

i find that it will very slow with the DGS shader  
though it’s accurate.

expecting “a full tutorial on DGS”.

---

<div class="post-metadata">

### Author: ![user\_deleted](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/u/35a633/32.png) [@user\_deleted](https://forum.highend3d.com/u/user_deleted)
#### Post date: [November 13, 2003, 5:10am UTC](https://forum.highend3d.com/t/differences-between-dgs-and-dgs-photon-shader/46655/4 "2003-11-13T05:10:57Z")

</div>

DGS using glossy is slow, yes… but if you are just using specular (non-blurred) reflections, DGS is often faster than using, say, a Blinn or Phong… kinda depends on what you’re doing, though.

Hopefully I will have a full tutorial done and up at some point soon… I am gonna be realistic and say not to expect it for at least another coupla months, though…

sorry, just busy with school.

glad I could help, though : )

-Steve
