[HOW] Visual model without shadow on ground

Learn to make aircraft, maps and more with all of the tools. All the tutorials you will ever need are located here!
NOTE THAT HACKING THE MAIN YSFLIGHT .EXE IS FORBIDDEN
Post Reply
User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1485
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 1051 times
Been thanked: 339 times

[HOW] Visual model without shadow on ground

Post by u2fly »

Patrick31337 wrote: Does anybody know how to make a ground object without a shadow? If you make something that lies flat on the ground, all you see is the shadow.
OfficerFlake wrote: @Patrick NOSHADOW TRUE
@OfficerFlake Yes, it works!
http://kohada.2ch.net/test/read.cgi/fly/1335776423/
--
As I know, shadow of ground object will be automaticaly disabled if you are far from center of this object and enabled if you come closer. But dont know how this distance calculated, and did it depend from some variable in ground object .DAT file (maybe HTRADIUS or some else).
You can try this effect using object with big visual model size, for example:
1) viewtopic.php?t=8256
2) viewtopic.php?t=8272
Try locate "SEARCHLIGHT" object on ground near start position, and then move closer and far from it. You will see that in some moment flashlight beam will mess shadow.
Image

U.S. Senator John McCain wrote:“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost
- we stand w/ them in their fight against #Putin's aggression”

pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests