Package | Description |
---|---|
org.sunflow | |
org.sunflow.core | |
org.sunflow.core.light | |
org.sunflow.core.primitive | |
org.sunflow.core.shader |
Modifier and Type | Field | Description |
---|---|---|
static Plugins<Shader> |
PluginRegistry.shaderPlugins |
Modifier and Type | Method | Description |
---|---|---|
Shader |
SunflowAPI.lookupShader(java.lang.String name) |
Retrieve a shader object by its name, or
null if no shader
was found, or if the specified object is not a shader. |
Modifier and Type | Method | Description |
---|---|---|
Shader |
Instance.getShader(int i) |
Get a shader for the instance's list.
|
Shader |
ShadingState.getShader() |
Get the shader to be used to shade this surface.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ShadingCache.add(ShadingState state,
Shader shader,
Color c) |
|
static Instance |
Instance.createTemporary(PrimitiveList primitives,
Matrix4 transform,
Shader shader) |
|
Color |
ShadingCache.lookup(ShadingState state,
Shader shader) |
|
void |
Instance.removeShader(Shader s) |
Remove the specified shader from the instance's list if it is being used.
|
void |
ShadingState.setShader(Shader shader) |
Record which shader should be executed for the intersected surface.
|
void |
Scene.setShaderOverride(Shader shader,
boolean photonOverride) |
Enables shader overiding (set null to disable).
|
Modifier and Type | Class | Description |
---|---|---|
class |
ImageBasedLight |
|
class |
SphereLight |
|
class |
SunSkyLight |
|
class |
TriangleMeshLight |
Modifier and Type | Class | Description |
---|---|---|
class |
CornellBox |
|
class |
Hair |
Modifier and Type | Class | Description |
---|---|---|
class |
AmbientOcclusionShader |
|
class |
AnisotropicWardShader |
|
class |
ConstantShader |
|
class |
DiffuseShader |
|
class |
GlassShader |
|
class |
IDShader |
|
class |
MirrorShader |
|
class |
NormalShader |
|
class |
PhongShader |
|
class |
PrimIDShader |
|
class |
QuickGrayShader |
|
class |
ShinyDiffuseShader |
|
class |
SimpleShader |
|
class |
TexturedAmbientOcclusionShader |
|
class |
TexturedDiffuseShader |
|
class |
TexturedPhongShader |
|
class |
TexturedShinyDiffuseShader |
|
class |
TexturedWardShader |
|
class |
UberShader |
|
class |
UVShader |
|
class |
ViewCausticsShader |
|
class |
ViewGlobalPhotonsShader |
|
class |
ViewIrradianceShader |
|
class |
WireframeShader |