Jump to content

[SOLVED] Projected light don't see hills from TerrainGlobal.


photo

Recommended Posts

Posted

Hello.
Projected light don't see hills from TerrainGlobal. Also, I tried to use setForceIntersection(1), but i have got feelings, that TerrainGlobal use only visible intersection. Is it normal? Version 2.7.2image.thumb.png.981b5856e97e1aa9af8cfe6632d3e4e5.png  

image.png

image.png

image.png

image.png

image.png

Posted

No, it doesn't help me.

Posted

Hello Alexey,

The problem is in the light parameters.

Projected Light + custom shape wouldn't work correctly with big visibility distances and such FOV values (100.5 degrees in your case).

May I ask you to explain, what you're trying to do? Is it a specific lamp or a projector you're reproducing?

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hello.
I tried to reduce light distance parametrs and reduce FOV, but result didn't change. I'm trying to use light projector with certain degree and it is very import for my task, that terrain global has got shadows from this light.

Posted

Can you send us a test scene? Also, on your picture light ray is completely cut with a terrain. Where do you expect to see a shadow?

UPD

Or the bright part of terrain on the left is lit with light? Sorry, it's a bit unclear on the picture.

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Sorry for delay. Bright part on the left is light on terrain, yes. I didn't write accurately, ray cut with terrain, not shadow must be on the left part.

project.zip

Posted

Thanks for help, problem was with material of Terrain Global. It mustn't be have shadow offset 10.0, it must be near 1.0.

  • silent changed the title to [SOLVED] Projected light don't see hills from TerrainGlobal.
×
×
  • Create New...