|
Blender V5.3
|
#include <gpencil_vfx.bsl.hh>
Public Member Functions | |
| float2 | compute_uvs (float2 screen_uv, float x) const |
| void | process (const Vfx &srt, float2 screen_uv, FragOut &frag_out) const |
Public Attributes | |
| float4 | shadow_color |
| float2 | uv_rot_x |
| float2 | uv_rot_y |
| float2 | uv_offset |
| float2 | blur_dir |
| float2 | wave_dir |
| float2 | wave_offset |
| float | wave_phase |
| int | samp_count |
| bool | is_first_pass |
Definition at line 291 of file gpencil_vfx.bsl.hh.
Definition at line 303 of file gpencil_vfx.bsl.hh.
References blur_dir, dot(), sin, uv_offset, uv_rot_x, uv_rot_y, wave_dir, wave_offset, wave_phase, float2::x, x, and float2::y.
Referenced by process().
|
inline |
Definition at line 315 of file gpencil_vfx.bsl.hh.
References any(), clamp(), grease_pencil::vfx::FragOut::color, grease_pencil::vfx::Vfx::color_buf, compute_uvs(), dot(), equal, float, floor, grease_pencil::vfx::gaussian_weight(), is_first_pass, mix, grease_pencil::vfx::Vfx::reveal_buf, grease_pencil::vfx::FragOut::revealage, samp_count, shadow_color, texture(), and x.
| float2 grease_pencil::vfx::Shadow::blur_dir |
Definition at line 296 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().
| bool grease_pencil::vfx::Shadow::is_first_pass |
Definition at line 301 of file gpencil_vfx.bsl.hh.
Referenced by process().
| int grease_pencil::vfx::Shadow::samp_count |
Definition at line 300 of file gpencil_vfx.bsl.hh.
Referenced by process().
| float4 grease_pencil::vfx::Shadow::shadow_color |
Definition at line 292 of file gpencil_vfx.bsl.hh.
Referenced by process().
| float2 grease_pencil::vfx::Shadow::uv_offset |
Definition at line 295 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().
| float2 grease_pencil::vfx::Shadow::uv_rot_x |
Definition at line 293 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().
| float2 grease_pencil::vfx::Shadow::uv_rot_y |
Definition at line 294 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().
| float2 grease_pencil::vfx::Shadow::wave_dir |
Definition at line 297 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().
| float2 grease_pencil::vfx::Shadow::wave_offset |
Definition at line 298 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().
| float grease_pencil::vfx::Shadow::wave_phase |
Definition at line 299 of file gpencil_vfx.bsl.hh.
Referenced by compute_uvs().