9920dfc25b
YES! FINALLY LIGHTING! Next up is specular light!
30 lines
619 B
C++
30 lines
619 B
C++
#pragma once
|
|
|
|
#include "PoseableBatch.h"
|
|
#include "BuiltinTypes.h"
|
|
|
|
namespace charcoal
|
|
{
|
|
namespace builtin
|
|
{
|
|
class LitBatch : public PoseableBatch<LitVertex, LitIndex, LitRenderable>
|
|
{
|
|
public:
|
|
LitBatch(
|
|
LitRenderable* renderable,
|
|
int element_count
|
|
) : PoseableBatch<LitVertex, LitIndex, LitRenderable>(renderable, element_count)
|
|
{}
|
|
|
|
LitBatch(
|
|
LitRenderable* renderable,
|
|
int element_count,
|
|
int element_render_count
|
|
) : PoseableBatch<LitVertex, LitIndex, LitRenderable>(renderable, element_count, element_render_count)
|
|
{}
|
|
|
|
protected:
|
|
void setup_vao() override;
|
|
};
|
|
}
|
|
} |