Skip to content

Commit b3234d0

Browse files
committed
[UPDATE] Added *Octahedron Lens* Docs
1 parent 7f5807f commit b3234d0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
= Gamedev Octahedron Lens =
2+
3+
#type: node
4+
#context: mat
5+
#internal: mat_toon_glsl_shader
6+
#icon: octahedronlens
7+
#tags: tech, model
8+
9+
""" This is a CVEX based Lens Shader used to generate Impostors. """
10+
11+
This is a CVEX based Lens Shader used to generate Impostors inside the Impostor Texture ROP. This tool by itself is exposed because of its educational worth.
12+
Please note that the lens shader code is found in the "Code" section of the HDA.
13+
14+
@parameters
15+
xy_size:
16+
This specifies the number of impostor renders there are generated for both X and Y axis. (Ex 8 would result in 64 angles)
17+
camera_width:
18+
Sets the camera width of the lens shader. A larger camera width allows for larger objects to be rendered.
19+
camera_zoom:
20+
Controls the zoom of the lens. Smaller values means more zoomed in.
21+
imposter_mode:
22+
Sets the type of octahedral impostor that needs to be rendered.

0 commit comments

Comments
 (0)