pica/swrasterizer: implement procedural texture
This commit is contained in:
parent
13dd0b88de
commit
ade45b5b99
9 changed files with 448 additions and 4 deletions
16
src/video_core/swrasterizer/proctex.h
Normal file
16
src/video_core/swrasterizer/proctex.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2017 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/common_types.h"
|
||||
#include "common/vector_math.h"
|
||||
#include "video_core/pica_state.h"
|
||||
|
||||
namespace Pica {
|
||||
namespace Rasterizer {
|
||||
|
||||
/// Generates procedural texture color for the given coordinates
|
||||
Math::Vec4<u8> ProcTex(float u, float v, TexturingRegs regs, State::ProcTex state);
|
||||
|
||||
} // namespace Rasterizer
|
||||
} // namespace Pica
|
Loading…
Add table
Add a link
Reference in a new issue