跳轉到內容

照片
- - - - -

LightmapSettings 說明


舊主題!

Guest, 此文章已經超過 90 天,依照全站板規,非必要請勿回覆此主題,回覆舊文且內容無實質意義,站務組將直接移除回應並給予警告。



  • 請登入以回覆
這篇主題有 1 篇回覆

#1 kuo

kuo

    特級上將

  • 創站元老
  • 25,396 文章數
  • 國家 / 地區:中華民國(台灣)
  • 來自:新竹,台灣(ROC)
  • 隸屬於:NW

發表於 2007 年 06 月 25 日 - 下午 09:40

來源
http://bfeditor.org/...?showtopic=1783


文章圖片

GILightsBaseDir = GILights 光線的角度 (0/0.5/-0.5 是 45 度角)

GILightsIntensity = 每個 GILight 的強度.

GILightsShadowIntensity = 控制由 GILights 產生的陰影. (註1)

GILightsFov = 擴散率 (高數值 > 柔和陰影 > 緩慢的繪製)

GILightsViewDistance = 物件與光源的距離 (較短> 快速)

GIFillIntensity = 模擬環境

NumberOfGILights = 需要計算的 GILights 數量 (預設值=6 as seen on img)

UseGITopLight = 上方放置柔緩的光源跟GILights 一起完成環狀 lightdome 效果.

GITopLightIntensity = GITopLight 的強度

SunLightShadowIntensity = 控制由 SunLight 產生的陰影.

SunLightFov = 擴散率 (低數值 > 尖銳的陰影 > 快速的繪製)

SunLightIntensity = SunLight 的強度



Info:

- In TerrainMode only one GILight is necessary since the terrain does not feature overhangs. When setting the NumberOfGILights to 1 it will be treated as a TopLight.



- GIFillIntensity = Without it you wont be able to see textures in a room without windows (pitchblack)



- The GILightsShadowIntensity and SunLightShadowIntensity should be set to 1. Use the LightIntensity to tweak the lighting instead.



Sideinfo : The renderer calculates what lightsources that can be seen from the active pixel in the lightmap.
  • 0
文章圖片

好口愛啊 XD

#2 kuo

kuo

    特級上將

  • 創站元老
  • 25,396 文章數
  • 國家 / 地區:中華民國(台灣)
  • 來自:新竹,台灣(ROC)
  • 隸屬於:NW

發表於 2007 年 06 月 27 日 - 下午 02:57

來源
http://bf2cap.s154.x...kiwiki/239.html

建立新地圖時
建議在 Editor 目錄內
新增 TerrainLight.con 與 ObjectLight.con (內容相同)
做出來會比較正確



推薦的設定值 (ObjectLight.con & TerrainLight.con)
rem ******** Lightmap Generation Settings ********
if v_arg1 == BF2Editor

LightMapGeneration.init
LightMapGeneration.GILightsBaseDir 0/0.33/-0.66
LightMapGeneration.GILightsIntensity 0.33
LightMapGeneration.GILightsShadowIntensity 1
LightMapGeneration.GILightsFov 45
LightMapGeneration.UseGITopLight 1
LightMapGeneration.GITopLightIntensity 0.1
LightMapGeneration.GILightsViewDistance 10
LightMapGeneration.skyWhite 0.3
LightMapGeneration.numberOfGILights 8
LightMapGeneration.sunLightShadowIntensity 1
LightMapGeneration.sunLightFov 2
LightMapGeneration.sunLightIntensity 1

endIf

針對室內較暗亮度的設定 (objectlight.con)
rem ******** Lightmap Generation Settings ********
if v_arg1 == BF2Editor

LightMapGeneration.init
LightMapGeneration.GILightsBaseDir 0/0.33/-0.66
LightMapGeneration.GILightsIntensity 0.33
LightMapGeneration.GILightsShadowIntensity 1
LightMapGeneration.GILightsFov 45
LightMapGeneration.UseGITopLight 1
LightMapGeneration.GITopLightIntensity 0.1
LightMapGeneration.GILightsViewDistance 10
LightMapGeneration.skyWhite 0.8
LightMapGeneration.numberOfGILights 8
LightMapGeneration.sunLightShadowIntensity 1
LightMapGeneration.sunLightFov 2
LightMapGeneration.sunLightIntensity 0.3

endIf

  • 0
文章圖片

好口愛啊 XD



舊主題!

Guest, 此文章已經超過 90 天,依照全站板規,非必要請勿回覆此主題,回覆舊文且內容無實質意義,站務組將直接移除回應並給予警告。




0 位玩家正在閱讀此主題

0 位會員, 0 位訪客, 0 位匿名會員