#include "isphere_structs.cg"#include "iutil.cg"#include "isphere_phong.cg"Functions | |
| float | intersectSphere (in float3 ray, float4 sphere) |
| Perform ray - sphere intersection. | |
| FragOut | main (Vert2Frag v2f, uniform float4x4 ProjMatrix, uniform float4 lightPos, uniform PhongMaterial material) |
| Fragment Shader Main. | |
|
||||||||||||
|
Perform ray - sphere intersection.
|
1.4.4