Search found 12 matches

by mitras1
Tue May 14, 2024 11:44 am
Forum: Beginners Help
Topic: [GLSL] Should I define "(layout = i) in" variables like uniform?
Replies: 3
Views: 45

Re: [GLSL] Should I define "(layout = i) in" variables like uniform?

One more thing. Do irr::video::E_VERTEX_SHADER_TYPE/E_PIXEL_SHADER_TYPE even matter if you only use opengl shaders?
by mitras1
Mon May 13, 2024 4:01 pm
Forum: Beginners Help
Topic: [GLSL] Should I define "(layout = i) in" variables like uniform?
Replies: 3
Views: 45

[GLSL] Should I define "(layout = i) in" variables like uniform?

Code: Select all

layout (location = 0) in vec3 pos;
layout (location = 1) in vec3 normal;
I already wrote a shader I need and now I am integrating it into irrlicht
by mitras1
Thu Mar 21, 2024 3:23 am
Forum: Beginners Help
Topic: Do IReadFile->read changes the postion in file?
Replies: 1
Views: 1391

Do IReadFile->read changes the postion in file?

Do you need to write IReadFile->seek after?
by mitras1
Tue Mar 19, 2024 4:15 pm
Forum: Beginners Help
Topic: How to get last characters of a string?
Replies: 2
Views: 1456

Re: How to get last characters of a string?

CuteAlien wrote: Tue Mar 19, 2024 11:34 am Easiest is to use the functions in coreutil.h like irr::core::hasFileExtension or irr::core::isFileExtension
You can also take a look how it's implemented.
Thanks
by mitras1
Tue Mar 19, 2024 11:01 am
Forum: Beginners Help
Topic: How to get last characters of a string?
Replies: 2
Views: 1456

How to get last characters of a string?

I'm making a mesh loader, currently implementing isALoadableFileExtension. I found out that Irrlicht uses its own string class but I just can't find the right method
by mitras1
Sun Mar 17, 2024 10:46 am
Forum: Beginners Help
Topic: How to draw solid material, wireframe and point cloud at the same time?
Replies: 1
Views: 1391

How to draw solid material, wireframe and point cloud at the same time?

Hi, if you didn't understand what I am talking about, here's the image:
Image
by mitras1
Sat Mar 09, 2024 5:11 pm
Forum: Beginners Help
Topic: How to disable this thing?
Replies: 4
Views: 1405

Re: How to disable this thing?

CuteAlien wrote: Sat Mar 09, 2024 11:12 am Hm, mip-maps are usually good. Try setting AnisotropicFilter to 16 and enable TrilinearFilter for your texture layer in SMaterial. Both are off by default.
I can't use TrilinearFilter because of art style but AnisotropicFilter made it perfect. Thanks! :D
by mitras1
Sat Mar 09, 2024 9:05 am
Forum: Beginners Help
Topic: How to disable this thing?
Replies: 4
Views: 1405

Re: How to disable this thing?

Nvm, you can disable it if you set material flag EMF_USE_MIP_MAPS to false
by mitras1
Sat Mar 09, 2024 8:54 am
Forum: Beginners Help
Topic: How to disable this thing?
Replies: 4
Views: 1405

How to disable this thing?

Image
It really hurts my eyes
by mitras1
Sun Feb 25, 2024 10:24 am
Forum: Everything 2d/3d Graphics
Topic: Best map editor?
Replies: 1
Views: 1319

Best map editor?

Hi, I am new here.

I'm trying to find a map editor, and the best option so far is to use Blender + export as COLLADA.

Any suggestions/other options, please?