Outfit shaders
internalDrawOutfit
if (g_graphics.getPainterEngine() == g_graphics.Painter_OpenGL2)
{
if (m_shader && g_painter->hasShaders() && g_graphics.shouldUseShaders()) {
m_shader->bind();
m_shader->setUniformValue(ShaderManager::OUTFIT_ID_UNIFORM, 0);
g_painter->setShaderProgram(m_shader);
}
}
Could you elaborate? how to use specific effect?Will you share with your shaders?
Code for shaders, at creature.cpp
C++:internalDrawOutfit
C++:if (g_graphics.getPainterEngine() == g_graphics.Painter_OpenGL2) { if (m_shader && g_painter->hasShaders() && g_graphics.shouldUseShaders()) { m_shader->bind(); m_shader->setUniformValue(ShaderManager::OUTFIT_ID_UNIFORM, 0); g_painter->setShaderProgram(m_shader); } }
void setShader(const PainterShaderProgramPtr& shader, float fadein, float fadeout);
PainterShaderProgramPtr m_shader;
#include "shadermanager.h"
m_shader = g_shaders.getDefaultItemShader();
void Creature::setShader(const PainterShaderProgramPtr& shader, float fadein, float fadeout)
{
if (m_shader == shader)
return;
m_shader = shader;
}
if (g_graphics.getPainterEngine() == g_graphics.Painter_OpenGL2)
{
if (m_shader && g_painter->hasShaders() && g_graphics.shouldUseShaders()) {
m_shader->bind();
m_shader->setUniformValue(ShaderManager::OUTFIT_ID_UNIFORM, 0);
g_painter->setShaderProgram(m_shader);
}
}
g_lua.bindClassMemberFunction<Creature>("setShader", &Creature::setShader);
g_map.addCreature(creature);
creature->setShader(g_shaders.getShader("Radial Blur"), 0, 0);
reature:setShader(g_shaders.getShader('Radial Blur'), 0, 0)
Ugh, Tibia with sounds. These shadows are not really looking good, mostly because shadowing (dark colors) on sprites is inconsistent. Poor choice of font in windows like skills, stats etc.Hi people, this our custom client for ADream OT.
I've been working during last year improving OTClient (from Edubart) for Alessya's Dream OT. This video shows some of the key features.
Indoor / outdoor shadowing, cloud shadows, light effects like realistic night, pro sounds fx, atmosphere sounds and original sound tracks, hunt analyzer, etc.
This is looking really good, congratulations mate.Hi people, this our custom client for ADream OT.
I've been working during last year improving OTClient (from Edubart) for Alessya's Dream OT. This video shows some of the key features.
Indoor / outdoor shadowing, cloud shadows, light effects like realistic night, pro sounds fx, atmosphere sounds and original sound tracks, hunt analyzer, etc.
Hi people, this our custom client for ADream OT.
I've been working during last year improving OTClient (from Edubart) for Alessya's Dream OT. This video shows some of the key features.
Indoor / outdoor shadowing, cloud shadows, light effects like realistic night, pro sounds fx, atmosphere sounds and original sound tracks, hunt analyzer, etc.
Looks nice. You did the 'Actions' window with TabBars or Buttons?This is my project inspired in Zezenia Online, the old world map with Culthan, Caerfa and Humwich and the new sprites. It's just a hobbie for remember the good days.
View attachment 48693
View attachment 48694
It's a button and tabButton tooLooks nice. You did the 'Actions' window with TabBars or Buttons?
could u say how to do that?Attack animation in OTC (work in progress):
How much space take such recording if it's not live cam?Keyboard/mouse tracking cam system extension designed for bot detection
~50kb/minute/playerHow much space take such recording if it's not live cam?
Does it use API or custom opcodes?Character Creator
Custom protocol.Does it use API or custom opcodes?