# Can you add texture function to Spot Light in the c4d version of Vray

**URL:** <https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801>\
**Category:** Requests\
**Created:** [January 20, 2024, 3:54am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801 "2024-01-20T03:54:58Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![123456\_1](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@123456\_1](https://forums.chaos.com/u/123456_1)\
**Post date:** [January 20, 2024, 3:54am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/1 "2024-01-20T03:54:58Z")

</div>

![YKM[YA3~VLSRMV02D2FMKPY.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/1/c/1ce29c303b8a45d295ebdaba9af714337d16f863.png) I would like to add a texture function so that the effect in 3dmax can be achieved

---

<div class="post-metadata">

**Author:** ![123456\_1](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@123456\_1](https://forums.chaos.com/u/123456_1)\
**Post date:** [January 20, 2024, 3:59am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/2 "2024-01-20T03:59:12Z")

</div>

Currently, to achieve this effect in C4D, I need to add a transparent model in front of the spotlight to achieve it

 ![Currently, to achieve this effect in C4D, I need to add a transparent model in front of the spotlight to achieve it WY5I%1OA4WF18ZXET]YJU1.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/0/f0551f736a9bc1d0a4b4724d2e762a02d717526f.jpeg)

---

<div class="post-metadata">

**Author:** ![wolfgang\_himmelfarb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/wolfgang_himmelfarb/32/56083_2.png) [@wolfgang\_himmelfarb](https://forums.chaos.com/u/wolfgang_himmelfarb)\
**Post date:** [January 20, 2024, 7:46am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/3 "2024-01-20T07:46:01Z")

</div>

![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/a/4a9d599952094d087add9b56b870b6985227b19b.jpeg)

It’s called a _ **Gobo** _ in the film industry and your simulation is prob more realistica anyhow, like the results could be more interesting for sure. oh, and you could also just use an alpha, doesn’t have to be an sRGB transparency. This is how they do it in hollywood. You can get this effect by loading a tex into your rectangle light and setting the _directional to 1._

​​

 ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/4/a/4a9d599952094d087add9b56b870b6985227b19b.jpeg)

---

<div class="post-metadata">

**Author:** ![wolfgang\_himmelfarb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/wolfgang_himmelfarb/32/56083_2.png) [@wolfgang\_himmelfarb](https://forums.chaos.com/u/wolfgang_himmelfarb)\
**Post date:** [January 20, 2024, 8:02am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/4 "2024-01-20T08:02:16Z")

</div>

Here just “faked” window and some stained glass using tiles. is this what you are looking for? Also I think Spotlights are _ **deprecated** _ in vray meaning you should not use them even though they are available - I believe they include them in the software for backward compatibility, not bc you should be using them anymore. I’d recommend reading the manual.

> **[V-Ray for Cinema 4D](https://documentation.chaos.com/space/VC4D)**

​

 ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/9/9204397ff10988920f4fadc98c062116e3dbc14e.jpeg) ​ ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/4/04a423ab8593266e8b17a2461e606a89966a70d7.jpeg)​

---

<div class="post-metadata">

**Author:** ![123456\_1](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@123456\_1](https://forums.chaos.com/u/123456_1)\
**Post date:** [January 20, 2024, 8:16am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/5 "2024-01-20T08:16:33Z")

</div>

> [@wolfgang\_himmelfarb](#):
>
> Here just “faked” window and some stained glass using tiles. is this what you are looking for? Also I think Spotlights are _ **deprecated** _ in vray meaning you should not use them even though they are available - I believe they include them in the software for backward compatibility, not bc you should be using them anymore. I’d recommend reading the manual.  
> [V-Ray for Cinema 4D](https://docs.chaos.com/display/VC4D/Legacy+Lights)
> 
> ​
> 
> ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/9/9204397ff10988920f4fadc98c062116e3dbc14e.jpeg) ​ ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/4/04a423ab8593266e8b17a2461e606a89966a70d7.jpeg)​

Thank you for your suggestion, but I hope to get a cone-shaped lighting volume effect with light and dark lines

 ![X4TIUSEYP0W%47V7H8E9ABU.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/b/fbe57061803c7bd247f7c8d179e20dbe95301768.jpeg)

---

<div class="post-metadata">

**Author:** ![wolfgang\_himmelfarb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/wolfgang_himmelfarb/32/56083_2.png) [@wolfgang\_himmelfarb](https://forums.chaos.com/u/wolfgang_himmelfarb)\
**Post date:** [January 20, 2024, 8:18pm UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/6 "2024-01-20T20:18:15Z")

</div>

I donna , that’s a very specific request for a deprecated workflow and it looks like you can just use max. In the simplest terms vray is getting rid of non-physically accurate lights and the setup you have with an infinitely small light source(and infinitely small gobo) isn’t physically accurate. Maybe chaos will reintroduce a physically accurate spotlight with gobo controls? Would be cool but I dont think its a priority if you have ies that are physically accurate . ..

 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/2X/7/7f32b71cb496f9c1e6a5d968b0f4a34055387028.png)​

---

<div class="post-metadata">

**Author:** ![viktor\_angelov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/viktor_angelov/32/66135_2.png) [@viktor\_angelov](https://forums.chaos.com/u/viktor_angelov)\
**Post date:** [January 23, 2024, 12:53pm UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/7 "2024-01-23T12:53:12Z")

</div>

Hello @123456_1 The Project Maps are a 3DsMax function that we have added V-Ray support to. This is not expected to be done in Cinema 4D. However, I have shared information regarding your interest and will keep it in mind.

---

<div class="post-metadata">

**Author:** ![akos\_kiss](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@akos\_kiss](https://forums.chaos.com/u/akos_kiss)\
**Post date:** [February 9, 2024, 10:06am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/8 "2024-02-09T10:06:33Z")

</div>

@123456_1 What function do you miss from the rectagle light turned into a circular one + setting up the directionality? I’m not sure if i understand the transparent model method you post. Could you elaborate a bit on that?

---

<div class="post-metadata">

**Author:** ![123456\_1](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@123456\_1](https://forums.chaos.com/u/123456_1)\
**Post date:** [February 9, 2024, 12:13pm UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/9 "2024-02-09T12:13:26Z")

</div>

> [@akos\_kiss](#):
>
> @123456_1 What function do you miss from the rectagle light turned into a circular one + setting up the directionality? I’m not sure if i understand the transparent model method you post. Could you elaborate a bit on that?

I uploaded the project file, and you should be able to render it directly to produce the effect. I just want to achieve this effect  
[A.rar](https://forums.chaos.com/uploads/short-url/aJg2AbgvEIp9GlotKDcv7410rJR.rar) (2.79 MB)

---

<div class="post-metadata">

**Author:** ![wolfgang\_himmelfarb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/wolfgang_himmelfarb/32/56083_2.png) [@wolfgang\_himmelfarb](https://forums.chaos.com/u/wolfgang_himmelfarb)\
**Post date:** [February 9, 2024, 7:42pm UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/10 "2024-02-09T19:42:53Z")

</div>

> [@akos\_kiss](#):
>
> @123456_1 What function do you miss from the rectangle light turned into a circular one + setting up the directionality? I’m not sure if i understand the transparent model method you post. Could you elaborate a bit on that?

it’s simulating a “gobo” which is technical “real world” term for that effect. And maybe the term isn’t “transparent” but “alphaed out.” It would be in the opacity map. The effect is what some render engines like arnold call a gobo, which is the industry term for a light blocking element. The problem is that the old legacy spotlight is an old workflow and im guessing not “real world”(bc its infinitely small). The effect is faked so im guessing thats why they’re getting rid of it. I honestly don’t think they’ll be adding in a legacy element bc its not like old files have it. I think more likely they’ll add a light blocker or gobo to the existing light. IMO.

---

<div class="post-metadata">

**Author:** ![akos\_kiss](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@akos\_kiss](https://forums.chaos.com/u/akos_kiss)\
**Post date:** [February 11, 2024, 10:04am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/11 "2024-02-11T10:04:09Z")

</div>

@123456_1 Thanks for the sample file!. In the preview i couldn’t see that there was an object in front of the spotlight. Now i understand the issue. The main thing is not the actual “gobo” or projected texture. This projector look can be achieved with the technique mentioned above (directionality). Unfortunately the method i suggested with the small circular light with a high directionality is not able to reproduce higher fidelity of the light rays in the reference.  
I think one solution is the what you suggested. If you need a bit more control ou can combine your spot light solution with the above mentioned rectangle light and high directionality. Its not going to be totally correct but you can have a bit more control. You can enable the barn doors on the spotlight to make it more accurate.  
This a workaround but maybe it gives you a bit more control.

I didn’t align the rectangle light and the spotlight but i think this gets the point across.

 ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/b/6/b61e3d8f9f96892cccac81e747adf1ac5c9933d8.jpeg)​

---

<div class="post-metadata">

**Author:** ![123456\_1](https://avatars.discourse-cdn.com/v4/letter/1/4af34b/32.png) [@123456\_1](https://forums.chaos.com/u/123456_1)\
**Post date:** [February 11, 2024, 10:54am UTC](https://forums.chaos.com/t/can-you-add-texture-function-to-spot-light-in-the-c4d-version-of-vray/117801/12 "2024-02-11T10:54:40Z")

</div>

> [@akos\_kiss](#):
>
> @123456_1 Thanks for the sample file!. In the preview i couldn’t see that there was an object in front of the spotlight. Now i understand the issue. The main thing is not the actual “gobo” or projected texture. This projector look can be achieved with the technique mentioned above (directionality). Unfortunately the method i suggested with the small circular light with a high directionality is not able to reproduce higher fidelity of the light rays in the reference.  
> I think one solution is the what you suggested. If you need a bit more control ou can combine your spot light solution with the above mentioned rectangle light and high directionality. Its not going to be totally correct but you can have a bit more control. You can enable the barn doors on the spotlight to make it more accurate.  
> This a workaround but maybe it gives you a bit more control.
> 
> I didn’t align the rectangle light and the spotlight but i think this gets the point across.
> 
> ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/b/6/b61e3d8f9f96892cccac81e747adf1ac5c9933d8.jpeg)​

Yes, but these methods are still cumbersome, and it would be much easier if vray could do this by simply adding stickers to the spotlight like redshift does,
