Search found 5 matches

by nobleqiao
Tue Jul 22, 2008 5:48 am
Forum: Beginners Help
Topic: if some one could help me with the shader
Replies: 6
Views: 287

Elvman's editor uses HLSL. From the way you are passing the shader uniform variables to specify the texture index it seems like you are using OpenGL. What's going on here exactly? Thank you for your attention.I just began to use shader.Since that ,I really don't know how to manage with it. I am usi...
by nobleqiao
Tue Jul 22, 2008 5:38 am
Forum: Beginners Help
Topic: if some one could help me with the shader
Replies: 6
Views: 287

since you didn't post the entire code in a zip, my answer will vary from bullseye to wtf-is-that-answer. the order of how you declare the textures are important, pay attention to it. This is the terrain editor by elvman I am using: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=23155&hi...
by nobleqiao
Tue Jul 22, 2008 2:03 am
Forum: Beginners Help
Topic: if some one could help me with the shader
Replies: 6
Views: 287

I've not used shaders in irrlicht myself but in raw opengl you pass the texture itself to the shader for a sampler2d (in ogl a texture is just an index really) but you're passing the layer index of the texture, rather than the texture itself, so i think that could be the problem. But i don't know h...
by nobleqiao
Mon Jul 21, 2008 2:29 pm
Forum: Beginners Help
Topic: if some one could help me with the shader
Replies: 6
Views: 287

if some one could help me with the shader

This is my code using elvman's HEX EDITOR,however,I can't get the terrain as I have seen from the editor's preview. I have a problem here, the area that should be rock,there is grass.So is the rock area here is my code: in class MyShaderCallBack:public video::IShaderConstantSetCallBack coverage=2; b...
by nobleqiao
Tue Jul 15, 2008 12:30 pm
Forum: Beginners Help
Topic: Not console application. Is possilbe?
Replies: 15
Views: 9732

Excellent work

Really Great Job :)