1
0
Fork 0

Merge pull request #100586 from tetrapod00/refraction-screen-texture

Document limitations of refraction from using screen texture
This commit is contained in:
Thaddeus Crews 2024-12-19 20:00:09 -06:00
commit 76956286d0
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@
</member>
<member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature" default="false">
If [code]true[/code], the refraction effect is enabled. Distorts transparency based on light from behind the object.
[b]Note:[/b] Refraction is implemented using the screen texture. Only opaque materials will appear in the refraction, since transparent materials do not appear in the screen texture.
</member>
<member name="refraction_scale" type="float" setter="set_refraction" getter="get_refraction" default="0.05">
The strength of the refraction effect.