How to Enable or Disable "Receive Shadows" for IBL shader?

svictor

Registered
According to official IBL Standard Shader definition, there is a "Receive Shadows" option (under General Configuration) in material editor which can be Enable or Disable:
image2020-8-13_8-4-4.png

https://docs.studio-397.com/develop...a-guide-in-rfactor2/pbr-using-standard-shader

But this option is not presented in current version of material editor. I'd like to know if there is a way to set this option to disable.

So far I have found a few json files that contains "RECEIVESHADOWS":"@Null", line, tried to add it to json but does not work.

It would be great help if it can be done. Thanks!
 
Looks like that screenshot is from older version of the standard shader.
The latest version does not have that option.
upload_2021-12-11_21-9-5.png


The latest got retroreflector, which was not available from old shader etc.

Btw, why you want to turn off receiving shadows from object..?
 
Last edited:
Thanks. It will be useful for objects like 2d tree to avoid a harsh shadow line running across the texture surface, something similar to the old "T1 no shadow" shader.
 
Thanks. It will be useful for objects like 2d tree to avoid a harsh shadow line running across the texture surface, something similar to the old "T1 no shadow" shader.
Hey guys, just wondering if there’s a work around for this issue that someone has come up with. Im having this shadow ssue on my billboard trees using the IBL Standard shader.
 
Yes, you can "disable" receive shadow on literally any objects by using a workaround described here:
There is a workaround to disable "receive shadow" for any IBL shaders material. Just set "NormalShadowInfluence" value to something like 1000 or 10000 (depends how much you want to hide shadows related to sun angle), which offsets shadow projection far away from object's surface so shadows don't show. This can be done in material editor or manually edit JSON.

For example, most trees in Dundrod currently uses this method to avoid razor-sharp shadow casting on billboards tree.
 
Back
Top