doc
parent
7bb22a94c0
commit
4502dd3255
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/light2.jpg-8e71ba3d22e5505a8c0b19e5861928f5.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://doc/demo11_particle_light/image/light2.jpg"
|
||||
dest_files=[ "res://.import/light2.jpg-8e71ba3d22e5505a8c0b19e5861928f5.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
|
@ -3,9 +3,7 @@
|
|||
- godot 的 2D 动态光照
|
||||
- 首先看看 Demo 的预览效果。可以看到,当我们在 Demo 中移动光源的位置,小人和场景也会随之表现出不同光照的情景
|
||||
|
||||
<video src="image/light1.mp4" controls="controls" width="640" height="320" autoplay="autoplay">
|
||||
godot 的 2D 动态光照
|
||||
</video>
|
||||
![Image text](image/light1.gif)
|
||||
|
||||
- 那么它和普通的 Sprite 有什么区别呢? 通过对比不难看出它们的差别主要是集中在材质上面。小人使用了自定义的 mat_normal 材质
|
||||
|
||||
|
|
Loading…
Reference in New Issue