安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
I think this can be done by having the clouds be two layers, one being $translucent 1 and the other being invisible but still casting a shadow. If $Nocull is in there you could get lighting from the other side of the cloud as well.
As for casting shadows? I don't have much experience with vmts and such but considering that the clouds are images slapped onto flat planes, I think the game will only account for the plane, not the cloud texture itself (aka big square shadows).
I will experiment around with it and see if I can come up with something though.
$Alphatest would allow for shadow casting on alpha'd textures but the edges would look rough, which is why I would then suggest making that invisible but still casting shadows, while pairing it up with $translucent enabled non-shadow casting plane of the same texture. bump mapping would then make the lighting prettier as clouds are 3d in nature irl.
Whatever you can manage, thanks!
https://imgur.com/njgzznk
This second image is the three planes split up.
https://imgur.com/BnJQphL
The one on the left needs a bumpmap, $nocull, $phong, and $translucent. Also VertexLitGeneric. Could get prettier with lightwrapping and phongwrapping but those can be worked with later.
The one on the right is the same, but the image is reversed, and the plane is actually facing away from the viewer, so it actually catches light coming from behind it rather than in front like the one on the left is.
The one in the center has the same settings BUT instead of $translucent, it uses $alphatest.
The left one is .1 units in front of the center one, and the one on the right is .1 units behind the one on the right.
If you need the clouds to be fullbright for scenebuilds on dark void maps, then you can do that with a second skin, one for unlitgeneric and vertexlitgeneric
Basically, it won't work, or at least, it won't look good when making your scenes
There IS an alternative that was suggested by the same person :
You could apply an inverted cloud texture on a lamp to fake the cloud's "shadow".
I'm gonna make some lamp textures like these and see wether it works or not