Try out rounded portal frame
This commit is contained in:
parent
200694a005
commit
ac50e8eee7
2
NOTES.md
2
NOTES.md
@ -58,6 +58,8 @@ Mám v plánu udělat texture masku pro tvarování protálů. S házením stín
|
||||
|
||||
- Kdybys měl oblouk nahoře, tak nemůžeš jenom tak clipnout obdélníkový portál. Kdyby byl plochý, tak jo. Ale takhle bude ten okraj nahoře jakoby zabořený a nebude to pěkné (asi). Zvlášť v rožkách.
|
||||
|
||||

|
||||
|
||||
:question: Tohle asi řeší tenký box s **culling- off** jak měl Sebastian ve svém Unity videu. Akorát to žere trochu renderingu.. ale v porovnání s X kamerama navíc je to asi fuk.
|
||||
|
||||
> BoxMesh3D mi nefunguje na hned. Ugh, nejsem si jistý proč.. ale mám dojem že ten chlapík co vyrobil ty portály by to asi zkusil. Prohlubeň možná dává smysl.
|
||||
|
BIN
assets/round-portal-frame-square-portal-mesh.png
Normal file
BIN
assets/round-portal-frame-square-portal-mesh.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 734 KiB |
File diff suppressed because one or more lines are too long
@ -24,7 +24,7 @@ func _init() -> void:
|
||||
|
||||
func generate_portal_mesh() -> void:
|
||||
print("[PortalMesh] Creating mesh")
|
||||
var _start_time = Time.get_ticks_usec()
|
||||
var _start_time: int = Time.get_ticks_usec()
|
||||
clear_surfaces() # Reset
|
||||
|
||||
var surface_array: Array = []
|
||||
|
Loading…
Reference in New Issue
Block a user