Skip to main content
Participant
December 22, 2023
Question

Shadow Map Resolution by ExtendScript

  • December 22, 2023
  • 1 reply
  • 226 views

Hello, is it possible to set the Shadow Map Resolution by ExtendScript?

I'm creating a Camera Projection tool and would like to set this feature by scripting.

 

I can't find it in Google and ChatGPT either, so I think doing it is impossible.

There is an amazing tool called Projection 3D and the developer shows this process being automated (around 3m37s), but I would like to know how lol.

 

https://www.youtube.com/watch?v=mkQIkZmrAxw

 

Thanks in advance!

This topic has been closed for replies.

1 reply

ConstantinMaier
Inspiring
December 23, 2023

Not sure how they do it but I'm not aware of a way to easily set this in ExtendScript. Here's my workaround:

1) Create a project with an empty comp. Set the shadow map resolution to 4000 (preferably what you want).

2) Create a binary of the project file and include it in your script.

3) Within your script execution, import the project file and grab the comp inside with the shadow map resolution set to 4000. Now do with it whatever you like.