Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 25, 2006, 12:28:05 PM (18 years ago)
Author:
bensch
Message:

Shaders now fully support the ResourceShader Paradigm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/environments/mapped_water.cc

    r9820 r9821  
    2424#include "shell_command.h"
    2525#include "script_class.h"
     26
     27#include "resource_shader.h"
    2628
    2729#include "class_id_DEPRECATED.h"
     
    164166{
    165167  // load shader files
    166   shader = Shader( ResourceManager::getInstance()->getDataDir() + "/shaders/mapped_water.vert",
    167                    ResourceManager::getInstance()->getDataDir() +"/shaders/mapped_water.frag");
     168  shader = ResourceShader( "/shaders/mapped_water.vert", "/shaders/mapped_water.frag");
    168169
    169170  this->shader.activateShader();
Note: See TracChangeset for help on using the changeset viewer.