Specular calculations for deferred lighting in progress
Have integrated the position of the directional light in the scene graph (imported from fbx) with the forward renderer and deferred lighting renderer's directional light angle --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4048
This commit is contained in:
@@ -112,6 +112,16 @@ const KRVector3 &KRNode::getLocalRotation() {
|
||||
return m_localRotation;
|
||||
}
|
||||
|
||||
const KRVector3 &KRNode::getWorldTranslation() {
|
||||
return m_localTranslation;
|
||||
}
|
||||
const KRVector3 &KRNode::getWorldScale() {
|
||||
return m_localScale;
|
||||
}
|
||||
const KRVector3 &KRNode::getWorldRotation() {
|
||||
return m_localRotation;
|
||||
}
|
||||
|
||||
std::string KRNode::getElementName() {
|
||||
return "node";
|
||||
}
|
||||
@@ -180,3 +190,7 @@ void KRNode::calcExtents(KRContext *pContext) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const std::vector<KRNode *> &KRNode::getChildren() {
|
||||
return m_childNodes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user