public interface RTShader
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
computeBSDF
(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) void
computeMaxRays
(ShadingEnvironment env, Ray reflectedRay, Vector3f reflectedVariance, Ray refractedRay, Vector3f refractedVariance) void
generateRandomRay
(ShadingEnvironment env, Ray randomRay) void
generateRandomRays
(ShadingEnvironment env, RayList randomRays) void
generateRandomRays
(ShadingEnvironment env, Vector3f out, RayList rays, boolean adjoint, int seed) int
void
getShadingColor
(ShadingEnvironment env, Color3f color) float
getshadingColorByComputeBSDF
(ShadingEnvironment env, Vector3f in, boolean adjoint, Color3f bsdf) boolean
boolean
-
Field Details
-
LAMBERTIAN_VARIANCE
static final float LAMBERTIAN_VARIANCE- See Also:
-
-
Method Details
-
getShadingColor
-
computeMaxRays
void computeMaxRays(ShadingEnvironment env, Ray reflectedRay, Vector3f reflectedVariance, Ray refractedRay, Vector3f refractedVariance) -
generateRandomRay
-
generateRandomRays
-
isTransparent
-
isTransparent
boolean isTransparent() -
getShaderFlags
int getShaderFlags() -
computeBSDF
-
getshadingColorByComputeBSDF
float getshadingColorByComputeBSDF(ShadingEnvironment env, Vector3f in, boolean adjoint, Color3f bsdf) -
generateRandomRays
void generateRandomRays(ShadingEnvironment env, Vector3f out, RayList rays, boolean adjoint, int seed)
-