# Maya ramp shader ignores vray light "affect specular" option

**URL:** <https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088>\
**Category:** Issues\
**Created:** [July 18, 2012, 11:56am UTC](https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088 "2012-07-18T11:56:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AardmanCGI](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@AardmanCGI](https://forums.chaos.com/u/AardmanCGI)\
**Post date:** [July 18, 2012, 11:56am UTC](https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088/1 "2012-07-18T11:56:42Z")

</div>

When rendering using Maya’s ramp shader with vray lights the “affect specular” option seems to be ignored.  
Is this a bug and is there any workaround for this?

Thanks,  
Philip

---

<div class="post-metadata">

**Author:** ![Zdravko](https://avatars.discourse-cdn.com/v4/letter/z/ba8739/32.png) [@Zdravko](https://forums.chaos.com/u/Zdravko)\
**Post date:** [July 20, 2012, 1:48pm UTC](https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088/2 "2012-07-20T13:48:11Z")

</div>

It seems to work fine here.  
Can you attach an example scene? Which V-Ray for Maya build are you using?

---

<div class="post-metadata">

**Author:** ![AardmanCGI](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@AardmanCGI](https://forums.chaos.com/u/AardmanCGI)\
**Post date:** [July 20, 2012, 4:23pm UTC](https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088/3 "2012-07-20T16:23:34Z")

</div>

build vray2.25.01-20120504  
I will put together an example scene shortly.  
Thanks

---

<div class="post-metadata">

**Author:** ![AardmanCGI](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@AardmanCGI](https://forums.chaos.com/u/AardmanCGI)\
**Post date:** [July 23, 2012, 9:24am UTC](https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088/4 "2012-07-23T09:24:23Z")

</div>

Attached - ramp shader lit by light with affect spec off

You can see from this maya file that the light has affect spec, diffuse and reflection set to off but that the spec is still working.  
[rampShaderAffectSpec.ma.zip](https://forums.chaos.com/uploads/short-url/puRzNIu6XEW4FA0lfedMXPljeKN.zip) (8.19 KB)

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [July 23, 2012, 2:04pm UTC](https://forums.chaos.com/t/maya-ramp-shader-ignores-vray-light-affect-specular-option/42088/5 "2012-07-23T14:04:12Z")

</div>

Hello AardmanCGI

Thank you very much for the scene. There is something odd here.  
We’ve done some tests and indeed VrayLight is affecting specular property of rampShader even when “affect specular” is off.  
The situation is very strange because this is only shown in RGB color render element ; Specular Render Element is black if affect specular is off.  
We noticed that this is only happens if Specular Contribution property in Light Options is =1 - if this value is different from 1 - for example 0.999 or lower or 1.001 or higher this is not happened.
