darhal Posted September 3, 2015 Author Share Posted September 3, 2015 my graphic car dont support MRT and ik that so this will not work for me ? as the function return false Link to comment
Ren_712 Posted September 3, 2015 Share Posted September 3, 2015 If you see in chatbox: obj prev: MRT in shaders not supported... If so, then use non MRT option (the last flag set to false) - lots of mta players (knowing the fact that most of them use laptops with intel GFX from before 2009 on it) can't support that. This resource might be useful to prerender images of objects/weapons/vehicles by developer and saved to an image file. The functions for that are already there. Link to comment
Einheit-101 Posted September 4, 2015 Share Posted September 4, 2015 Nope... still doesnt work for me. It looks slightly different, its another kind of "transparency" now, looks almost like 10% Alpha or something. Still only happens for weapons. When using non-MRT, all weapons become fully invisible (they just are not there) Link to comment
LoOs Posted September 5, 2015 Share Posted September 5, 2015 where Code For Weapons ? You can apply the effect to objects, peds and vehicles. You will find model ids here: https://wiki.multitheftauto.com/wiki/Weapon no , i Say Give Code darhal Weapon , or all Code , Link to comment
darhal Posted September 5, 2015 Author Share Posted September 5, 2015 Thx Ren_712 for those players which their Graphics Card Support MRT it works fine (The ped is on the DX) But for me and the rest that their graphics card dont support MRT it will not work unless I change or upgrade it ? (I know that my graphics card dont support MRT but did that mean it will not work (Ped on the DX) ?) Link to comment
Moderators IIYAMA Posted September 5, 2015 Moderators Share Posted September 5, 2015 bool exports.object_preview:createObjectPreview(element object, float rotX rotY, rotZ, projPosX, projPosY, projSizeX, projSizeY [, bool isRelative = false, postGUI = false, [color=#FF0000]isSecRT = true][/color]) Set to true... Link to comment
darhal Posted September 5, 2015 Author Share Posted September 5, 2015 I do but my card dont support MRT so it will not work by the way is there any solution PS: for those who support MRT it work smoothly Link to comment
Einheit-101 Posted September 7, 2015 Share Posted September 7, 2015 Hey guys... exports.object_preview:destroyObjectPreview() ...returns nil and does not work anymore. I hope the next version is coming soon €DIT: My 3D- Weapon shop works fine as soon as the remaining bugs are fixed. I hope you will catch them, Ren http://1.bp.blogspot.com/-eWNnlKFzfzs/V ... -12-57.png Link to comment
Ren_712 Posted October 30, 2015 Share Posted October 30, 2015 Thx Ren_712 for those players which their Graphics Card Support MRT it works fine (The ped is on the DX)But for me and the rest that their graphics card dont support MRT it will not work unless I change or upgrade it ? (I know that my graphics card dont support MRT but did that mean it will not work (Ped on the DX) ?) If the graphics card does not support MRT in shaders then i'd suggest using the nonMRT option. createPreview(...,false) instead of default 'true'. I have released a new version - for those that have issues with weapons - that might solve the problem. setPositionOffsets and setRotationOffsets might fix the object not fitting the projection box. Link to comment
Einheit-101 Posted November 1, 2015 Share Posted November 1, 2015 Thx Ren! Will try the new Version ASAP! Link to comment
Einheit-101 Posted November 10, 2015 Share Posted November 10, 2015 Well, it looks like now not even standard objects work anymore. Only vehicles still work. Everything else is completely invisible (non-existent). Link to comment
Ren_712 Posted February 5, 2016 Share Posted February 5, 2016 I've taken time to rewrite the object and ped effects. I have no idea why it didn't work - but after some tests with other people - the ped and object shaders work properly now. Link to comment
Einheit-101 Posted February 14, 2016 Share Posted February 14, 2016 I will test it asap. €DIT::: It works. Finally http://i.imgur.com/5oq8tEv.jpg Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now