New Demo, Screen Space Shaders

-Fixes to screen space shaders.
-Fixes to isometric light demo.
This commit is contained in:
Juan Linietsky
2015-03-10 00:53:09 -03:00
parent 3fc9017fbb
commit 91744e9ed3
17 changed files with 76 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 KiB

View File

@ -0,0 +1 @@
repeat=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

View File

@ -0,0 +1,4 @@
[application]
name="Screen-Space Shaders"
main_scene="res://screen_shaders.scn"

View File

@ -0,0 +1,32 @@
extends Control
# member variables here, example:
# var a=2
# var b="textvar"
func _ready():
# Initialization here
for c in get_node("pictures").get_children():
get_node("picture").add_item("PIC: "+c.get_name())
for c in get_node("effects").get_children():
get_node("effect").add_item("FX: "+c.get_name())
pass
func _on_picture_item_selected( ID ):
for c in range(get_node("pictures").get_child_count()):
if (ID==c):
get_node("pictures").get_child(c).show()
else:
get_node("pictures").get_child(c).hide()
func _on_effect_item_selected( ID ):
for c in range(get_node("effects").get_child_count()):
if (ID==c):
get_node("effects").get_child(c).show()
else:
get_node("effects").get_child(c).hide()

Binary file not shown.