|
|
|
|
|
|
namespace UnityEngine.Experimental.ScriptableRenderLoop |
|
|
|
{ |
|
|
|
[Serializable] |
|
|
|
public abstract class AbstractHDRenderLoopMasterNode : AbstractMasterNode |
|
|
|
public abstract class AbstractHDRenderLoopMasterNode : AbstractMasterNode, IRequiresWorldPosition |
|
|
|
{ |
|
|
|
public AbstractHDRenderLoopMasterNode() |
|
|
|
{ |
|
|
|
|
|
|
}; |
|
|
|
}); |
|
|
|
|
|
|
|
vayrings.Concat(activeNodeList.Where(x => x is IRequiresNormal).Select(x => |
|
|
|
vayrings = vayrings.Concat(activeNodeList.Where(x => x is IRequiresNormal).Select(x => |
|
|
|
{ |
|
|
|
return new |
|
|
|
{ |
|
|
|
|
|
|
}; |
|
|
|
})); |
|
|
|
|
|
|
|
vayrings.Concat(activeNodeList.Where(x => x is IRequiresWorldPosition).Select(x => |
|
|
|
vayrings = vayrings.Concat(activeNodeList.Where(x => x is IRequiresWorldPosition).Select(x => |
|
|
|
{ |
|
|
|
return new |
|
|
|
{ |
|
|
|
|
|
|
}; |
|
|
|
})); |
|
|
|
|
|
|
|
vayrings.Concat(activeNodeList.Where(x => x is IRequiresViewDirection).Select(x => |
|
|
|
vayrings = vayrings.Concat(activeNodeList.Where(x => x is IRequiresViewDirection).Select(x => |
|
|
|
{ |
|
|
|
return new |
|
|
|
{ |
|
|
|
|
|
|
if (fromNode == null) |
|
|
|
continue; |
|
|
|
|
|
|
|
pixelShaderBodyVisitor.AddShaderChunk("ouput." + slot.shaderOutputName + " = " + fromNode.GetVariableNameForSlot(outputRef.slotId) + ";", true); |
|
|
|
pixelShaderBodyVisitor.AddShaderChunk("o." + slot.shaderOutputName + " = " + fromNode.GetVariableNameForSlot(outputRef.slotId) + ";", true); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|